reduce number of template include paths, which were needed during the theme restructure but no longer required.
This commit is contained in:
parent
62b1eb65dc
commit
6b6a742a1b
@ -487,11 +487,8 @@ function theme_include($file, $root = '') {
|
|||||||
|
|
||||||
$paths = array(
|
$paths = array(
|
||||||
"{$root}view/theme/$theme/$ext/$file",
|
"{$root}view/theme/$theme/$ext/$file",
|
||||||
"{$root}view/theme/$theme/$file",
|
|
||||||
"{$root}view/theme/$parent/$ext/$file",
|
"{$root}view/theme/$parent/$ext/$file",
|
||||||
"{$root}view/theme/$parent/$file",
|
|
||||||
"{$root}view/$ext/$file",
|
"{$root}view/$ext/$file",
|
||||||
"{$root}view/$file"
|
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach($paths as $p) {
|
foreach($paths as $p) {
|
||||||
|
Reference in New Issue
Block a user