fix green old theme

This commit is contained in:
marcos 2021-03-16 16:25:09 +01:00
parent f765493ce7
commit df8695b015
1 changed files with 5 additions and 1 deletions

View File

@ -43,7 +43,11 @@ function themes_get_css($path=false)
$retval = []; $retval = [];
foreach ($files as $file) { foreach ($files as $file) {
// Skip '..' and '.' entries and files not ended in '.css' if ($file === 'pandora_green_old.css') {
continue;
}
// Skip '..' and '.' entries and files not ended in '.css'.
if ($path && ($file == '.' || $file == '..' || strtolower(substr($file, (strlen($file) - 4))) !== '.css')) { if ($path && ($file == '.' || $file == '..' || strtolower(substr($file, (strlen($file) - 4))) !== '.css')) {
continue; continue;
} }