aboutsummaryrefslogtreecommitdiffstats
path: root/include/comanche.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-12 19:00:54 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-12 19:00:54 -0700
commit018e7022817fd73e904021ecf46f2c5839da9a62 (patch)
tree0bc817910756931bcaa0b773d30d31ee3c8fa6ed /include/comanche.php
parent5386686a1e0e60623d6421cbd85a93814c74fb58 (diff)
parent1e0e812440b8b87c39a88692e39eb0baca736b6e (diff)
downloadvolse-hubzilla-018e7022817fd73e904021ecf46f2c5839da9a62.tar.gz
volse-hubzilla-018e7022817fd73e904021ecf46f2c5839da9a62.tar.bz2
volse-hubzilla-018e7022817fd73e904021ecf46f2c5839da9a62.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts: mod/mitem.php view/nl/strings.php
Diffstat (limited to 'include/comanche.php')
-rw-r--r--include/comanche.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/comanche.php b/include/comanche.php
index f385f3c5a..3030ae5c6 100644
--- a/include/comanche.php
+++ b/include/comanche.php
@@ -245,6 +245,9 @@ function comanche_widget($name, $text) {
}
}
+ if(file_exists('widget/' . trim($name) . '.php'))
+ require_once('widget/' . trim($name) . '.php');
+
$func = 'widget_' . trim($name);
if (function_exists($func))
return $func($vars);