reduce number of template include paths, which were needed during the theme restructure but no longer required.

This commit is contained in:
friendica 2013-01-15 13:57:24 -08:00
parent 62b1eb65dc
commit 6b6a742a1b

View File

@ -487,11 +487,8 @@ function theme_include($file, $root = '') {
$paths = array(
"{$root}view/theme/$theme/$ext/$file",
"{$root}view/theme/$theme/$file",
"{$root}view/theme/$parent/$ext/$file",
"{$root}view/theme/$parent/$file",
"{$root}view/$ext/$file",
"{$root}view/$file"
);
foreach($paths as $p) {