aboutsummaryrefslogtreecommitdiffstats
path: root/include/comanche.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-07-29 22:04:07 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-07-29 22:04:07 +0200
commit98fa996b3f5125b60e2653bca2218b08041ad6a4 (patch)
tree685c3909ac49f7a25cd39877f74ed56ada9b15e0 /include/comanche.php
parent07e890a79a5c506b2e32272edf86ad4aba3b8fba (diff)
parentcbb6d37b6ca7e5d9e476fd3e7bea3ba56d3271e1 (diff)
downloadvolse-hubzilla-98fa996b3f5125b60e2653bca2218b08041ad6a4.tar.gz
volse-hubzilla-98fa996b3f5125b60e2653bca2218b08041ad6a4.tar.bz2
volse-hubzilla-98fa996b3f5125b60e2653bca2218b08041ad6a4.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/comanche.php')
-rw-r--r--include/comanche.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/comanche.php b/include/comanche.php
index 57056ae2a..9585a6578 100644
--- a/include/comanche.php
+++ b/include/comanche.php
@@ -284,6 +284,11 @@ function comanche_widget($name, $text) {
if(file_exists('widget/' . trim($name) . '.php'))
require_once('widget/' . trim($name) . '.php');
+ else {
+ $theme_widget = 'widget_' . trim($name) . '.php';
+ if(theme_include($theme_widget))
+ require_once(theme_include($theme_widget));
+ }
$func = 'widget_' . trim($name);
if (function_exists($func))