Conflicts:
	include/diaspora.php
This commit is contained in:
redmatrix
2015-07-23 21:07:35 -07:00
6 changed files with 10 additions and 6 deletions

View File

@@ -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))