From 75c1e7a193e07513680c522014481f9bd082a026 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 2 Sep 2016 02:34:33 -0700 Subject: missed the namespace --- Zotlabs/Module/Settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Module') diff --git a/Zotlabs/Module/Settings.php b/Zotlabs/Module/Settings.php index 28f9688f4..4bbbd2e9b 100644 --- a/Zotlabs/Module/Settings.php +++ b/Zotlabs/Module/Settings.php @@ -1040,8 +1040,8 @@ class Settings extends \Zotlabs\Web\Controller { $theme_config = ""; if(($themeconfigfile = $this->get_theme_config_file($theme)) != null){ require_once($themeconfigfile); - if(class_exists(ucfirst($theme) . 'Config')) { - $clsname = ucfirst($theme) . 'Config'; + if(class_exists('\\Zotlabs\\Theme\\' . ucfirst($theme) . 'Config')) { + $clsname = '\\Zotlabs\\Theme\\' . ucfirst($theme) . 'Config'; $thm_config = new $clsname(); $schemas = $thm_config->get_schemas(); $theme_config = $thm_config->get(); -- cgit v1.2.3