stable too

git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.1@669 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-12-19 10:57:03 +00:00
parent db404defe9
commit d56b7f9414

View File

@ -47,7 +47,10 @@ if(!file_exists("themes/$_theme")) $_theme = "default";
require_once "themes/$_theme/page.class.php";
require_once "themes/$_theme/layout.class.php";
require_once "themes/$_theme/themelet.class.php";
$themelets = array_merge(glob("ext/*/theme.php"), glob("themes/$_theme/*.theme.php"));
$themelets = glob("ext/*/theme.php");
$custom_themelets = glob("themes/$_theme/*.theme.php");
if($custom_themelets) $themelets = array_merge($themelets, $custom_themelets);
foreach($themelets as $filename) {
require_once $filename;
}