diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-12 19:00:54 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-12 19:00:54 -0700 |
commit | 018e7022817fd73e904021ecf46f2c5839da9a62 (patch) | |
tree | 0bc817910756931bcaa0b773d30d31ee3c8fa6ed /include/comanche.php | |
parent | 5386686a1e0e60623d6421cbd85a93814c74fb58 (diff) | |
parent | 1e0e812440b8b87c39a88692e39eb0baca736b6e (diff) | |
download | volse-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.php | 3 |
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); |