aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Render
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-29 19:52:00 -0700
committerzotlabs <mike@macgirvin.com>2017-10-29 19:52:00 -0700
commitceed0f7a1b6d7ee713c23937a9449bd84324caf6 (patch)
tree5965dcc382e48b1918abb77bcfd2626ac63c2470 /Zotlabs/Render
parent906d91d4d11242b55d48cf7dd4235bd2c9773aa4 (diff)
downloadvolse-hubzilla-ceed0f7a1b6d7ee713c23937a9449bd84324caf6.tar.gz
volse-hubzilla-ceed0f7a1b6d7ee713c23937a9449bd84324caf6.tar.bz2
volse-hubzilla-ceed0f7a1b6d7ee713c23937a9449bd84324caf6.zip
allow plugin class widgets, fix sql error in page module
Diffstat (limited to 'Zotlabs/Render')
-rw-r--r--Zotlabs/Render/Comanche.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Render/Comanche.php b/Zotlabs/Render/Comanche.php
index 8831bd117..78ca870a7 100644
--- a/Zotlabs/Render/Comanche.php
+++ b/Zotlabs/Render/Comanche.php
@@ -469,8 +469,11 @@ class Comanche {
if(file_exists('Zotlabs/SiteWidget/' . $clsname . '.php'))
require_once('Zotlabs/SiteWidget/' . $clsname . '.php');
+ elseif(file_exists('widget/' . $clsname . '/' . $clsname . '.php'))
+ require_once('widget/' . $clsname . '/' . $clsname . '.php');
elseif(file_exists('Zotlabs/Widget/' . $clsname . '.php'))
require_once('Zotlabs/Widget/' . $clsname . '.php');
+
if(class_exists($nsname)) {
$x = new $nsname;
$f = 'widget';