aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-01 22:20:08 -0700
committerredmatrix <mike@macgirvin.com>2016-09-01 22:20:08 -0700
commit47dd1da6fb8de2c9ba4b225e5680b6c1bbb2ca2b (patch)
treedeacaaed7b9cd9bc60f4ca49c1e28b24fca0ccbc /Zotlabs/Module/Settings.php
parentb3efdf2109d47c09a3e2724fbd92df2634cca2d7 (diff)
downloadvolse-hubzilla-47dd1da6fb8de2c9ba4b225e5680b6c1bbb2ca2b.tar.gz
volse-hubzilla-47dd1da6fb8de2c9ba4b225e5680b6c1bbb2ca2b.tar.bz2
volse-hubzilla-47dd1da6fb8de2c9ba4b225e5680b6c1bbb2ca2b.zip
put theme config into its own namespace
Diffstat (limited to 'Zotlabs/Module/Settings.php')
-rw-r--r--Zotlabs/Module/Settings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Settings.php b/Zotlabs/Module/Settings.php
index cfaf07c45..729a9b226 100644
--- a/Zotlabs/Module/Settings.php
+++ b/Zotlabs/Module/Settings.php
@@ -268,8 +268,8 @@ class Settings extends \Zotlabs\Web\Controller {
// call theme_post only if theme has not been changed
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';
$theme_config = new $clsname();
$schemas = $theme_config->get_schemas();
if(array_key_exists($_POST['schema'],$schemas))