From 5f9b36de5fe930776af3409c753dc1cbc1a99796 Mon Sep 17 00:00:00 2001 From: veselcraft Date: Thu, 2 Dec 2021 15:00:15 +0300 Subject: [PATCH] Themepacks: Adapt the layout to support xmas.css stylesheet and added some info about why the theme was been skipped --- Web/Presenters/templates/@layout.xml | 2 +- Web/Themes/Themepacks.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/Presenters/templates/@layout.xml b/Web/Presenters/templates/@layout.xml index 04a209e2..15359e41 100644 --- a/Web/Presenters/templates/@layout.xml +++ b/Web/Presenters/templates/@layout.xml @@ -30,7 +30,7 @@ {if $isXmas} - + {/if} {else} {css "css/style.css"} diff --git a/Web/Themes/Themepacks.php b/Web/Themes/Themepacks.php index 3010f6e1..d2748545 100644 --- a/Web/Themes/Themepacks.php +++ b/Web/Themes/Themepacks.php @@ -22,7 +22,7 @@ class Themepacks implements \ArrayAccess else $this->loadedThemepacks[$tid] = $theme; } catch(\Exception $e) { - trigger_error("Could not load theme at $themeDir, skipping...", E_USER_WARNING); + trigger_error("Could not load theme at $themeDir. Exception: $e", E_USER_WARNING); } } }