diff options
-rw-r--r-- | Zotlabs/Module/Settings.php | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |