whitespace
git-svn-id: file:///home/shish/svn/shimmie2/trunk@889 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
f0f9ee8b61
commit
89a250b7f7
@ -9,7 +9,6 @@ version_check();
|
|||||||
sanitise_environment();
|
sanitise_environment();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// load base files
|
// load base files
|
||||||
$files = array_merge(glob("core/*.php"), glob("ext/*/main.php"));
|
$files = array_merge(glob("core/*.php"), glob("ext/*/main.php"));
|
||||||
foreach($files as $filename) {
|
foreach($files as $filename) {
|
||||||
@ -40,8 +39,7 @@ if($custom_themelets) {
|
|||||||
$m = array();
|
$m = array();
|
||||||
foreach($custom_themelets as $filename) {
|
foreach($custom_themelets as $filename) {
|
||||||
if(preg_match("/themes\/$_theme\/(.*)\.theme\.php/",$filename,$m)
|
if(preg_match("/themes\/$_theme\/(.*)\.theme\.php/",$filename,$m)
|
||||||
&& array_contains($themelets, "ext/{$m[1]}/theme.php"))
|
&& array_contains($themelets, "ext/{$m[1]}/theme.php")) {
|
||||||
{
|
|
||||||
require_once $filename;
|
require_once $filename;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user