From 5906aa1fe66e731f15b6749bcbd41fcfcda7da26 Mon Sep 17 00:00:00 2001
From: Mark Carver <mark.carver@me.com>
Date: Wed, 16 May 2018 21:44:35 -0500
Subject: [PATCH] Issue #2973454 by markcarver: Logo and favicon values should
 be absolute URLs

---
 tag1quo.module | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/tag1quo.module b/tag1quo.module
index b19d0fd..fae6a82 100644
--- a/tag1quo.module
+++ b/tag1quo.module
@@ -144,8 +144,14 @@ function tag1quo_get_status() {
 
   // Pass along default theme information for optional dashboard display.
   $default_theme = variable_get('theme_default', 'bartik');
-  $logo_path = theme_get_setting('logo_path', $default_theme);
-  $favicon_path = theme_get_setting('favicon_path', $default_theme);
+
+  // Retrieve the absolute logo URL.
+  $logo = theme_get_setting('logo', $default_theme);
+  $logo_path = $logo ? $logo : '';
+
+  // Retrieve the absolute favicon URL.
+  $favicon = theme_get_setting('favicon', $default_theme);
+  $favicon_path = $favicon ? $favicon : '';
 
   // A hash of the db_url helps identify different deployment instances.
   if (is_array($db_url)) {
-- 
2.15.1

