diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-30 10:42:51 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-10-30 10:42:51 +0100 |
commit | b28ff509b1f7c95ac723fb1b2a20929da2ba7d3d (patch) | |
tree | 10cbc640f84ffabe70494822aa19096610fe5ded /Zotlabs/Render/Comanche.php | |
parent | 1f47f4ff9644523f14898ecd6f55d0fd0438d253 (diff) | |
parent | 4fef29e61c32b129f0090a4962d91607337a9406 (diff) | |
download | volse-hubzilla-b28ff509b1f7c95ac723fb1b2a20929da2ba7d3d.tar.gz volse-hubzilla-b28ff509b1f7c95ac723fb1b2a20929da2ba7d3d.tar.bz2 volse-hubzilla-b28ff509b1f7c95ac723fb1b2a20929da2ba7d3d.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Render/Comanche.php')
-rw-r--r-- | Zotlabs/Render/Comanche.php | 3 |
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'; |