diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-23 21:07:35 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-23 21:07:35 -0700 |
commit | cc5b0cde1df8f47ccf6db13304ffca25c7ff5f9a (patch) | |
tree | bff687980744c0aeffbedc37dd1dc5e88ada940b /include/comanche.php | |
parent | c0e67db070ae562f8e717a12faf5df9ecd7160d6 (diff) | |
parent | 908da4589dc4961c07d049c97bcfd59bc2973c89 (diff) | |
download | volse-hubzilla-cc5b0cde1df8f47ccf6db13304ffca25c7ff5f9a.tar.gz volse-hubzilla-cc5b0cde1df8f47ccf6db13304ffca25c7ff5f9a.tar.bz2 volse-hubzilla-cc5b0cde1df8f47ccf6db13304ffca25c7ff5f9a.zip |
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts:
include/diaspora.php
Diffstat (limited to 'include/comanche.php')
-rw-r--r-- | include/comanche.php | 5 |
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)) |