FIX: exclude directory from available themes when underscore is first character

Change FALSE to lowercase
This commit is contained in:
Colin Richardson 2013-05-23 16:41:47 +01:00
parent 6394eaf6a3
commit b2934d7ebf

View File

@ -644,7 +644,7 @@ class SSViewer {
foreach (scandir($path) as $item) {
if ($item[0] != '.' && is_dir("$path/$item")) {
if ($subthemes || !strpos($item, '_')) {
if ($subthemes || strpos($item, '_') === false) {
$themes[$item] = $item;
}
}