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

---
 tag1quo.module | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/tag1quo.module b/tag1quo.module
index 21ad3cd..35f1f33 100644
--- a/tag1quo.module
+++ b/tag1quo.module
@@ -94,8 +94,13 @@ function tag1quo_get_status($tag1quo_token = NULL, $tag1quo_report = FALSE) {
   // Pass along default theme information for optional dashboard display.
   $default_theme = \Drupal::config('system.theme')->get('default');
 
-  $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.url', $default_theme);
+  $logo_path = $logo ? file_create_url($logo) : '';
+
+  // Retrieve the absolute favicon URL.
+  $favicon = theme_get_setting('favicon.url', $default_theme);
+  $favicon_path = $favicon ? file_create_url($favicon) : '';
 
   // A hash of the db_url helps identify different deployment instances.
   if (is_array($db_url)) {
-- 
2.15.1

