aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Render/Comanche.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-15 17:05:16 -0700
committerzotlabs <mike@macgirvin.com>2017-03-15 17:05:16 -0700
commit14f16a7ef0ce1412fcccdabf6a44dd83efee9c60 (patch)
tree40aacf6d0d1704ab0659d75870534b96fb5ecd49 /Zotlabs/Render/Comanche.php
parentdf6c07aaadda2e89d2843bae136f813c909637ba (diff)
downloadvolse-hubzilla-14f16a7ef0ce1412fcccdabf6a44dd83efee9c60.tar.gz
volse-hubzilla-14f16a7ef0ce1412fcccdabf6a44dd83efee9c60.tar.bz2
volse-hubzilla-14f16a7ef0ce1412fcccdabf6a44dd83efee9c60.zip
use absolute namespace
Diffstat (limited to 'Zotlabs/Render/Comanche.php')
-rw-r--r--Zotlabs/Render/Comanche.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Render/Comanche.php b/Zotlabs/Render/Comanche.php
index 899fbd8aa..60a7b232c 100644
--- a/Zotlabs/Render/Comanche.php
+++ b/Zotlabs/Render/Comanche.php
@@ -411,7 +411,8 @@ class Comanche {
}
$clsname = ucfirst($name);
- $nsname = "Zotlabs\\Widget\\" . $clsname;
+ $nsname = "\\Zotlabs\\Widget\\" . $clsname;
+
if(file_exists('Zotlabs/SiteWidget/' . $clsname . '.php'))
require_once('Zotlabs/SiteWidget/' . $clsname . '.php');
elseif(file_exists('Zotlabs/Widget/' . $clsname . '.php'))