aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Render
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-15 17:05:16 -0700
committerMario Vavti <mario@mariovavti.com>2017-03-29 11:47:07 +0200
commit242ef70a775a86050152c0aea9096ec1cd6d0312 (patch)
tree3c04a4c062c05e764fcefb1bab5cce5f12216b67 /Zotlabs/Render
parent755b75161494ea9810ab0e38242cb1a318793ed3 (diff)
downloadvolse-hubzilla-242ef70a775a86050152c0aea9096ec1cd6d0312.tar.gz
volse-hubzilla-242ef70a775a86050152c0aea9096ec1cd6d0312.tar.bz2
volse-hubzilla-242ef70a775a86050152c0aea9096ec1cd6d0312.zip
use absolute namespace
Diffstat (limited to 'Zotlabs/Render')
-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'))