From: Marcel Werk Date: Sun, 9 Oct 2016 17:09:05 +0000 (+0200) Subject: Fixed detection of scss files X-Git-Tag: 3.0.0_Beta_3~50^2~39 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e656353bc8960ca6486a997f3260d30a657506b7;p=GitHub%2FWoltLab%2FWCF.git Fixed detection of scss files --- diff --git a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php index 1da640e7ba..319b1ffd0e 100644 --- a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php +++ b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php @@ -76,7 +76,7 @@ class StyleCompiler extends SingletonFactory { $file = WCF_DIR."style/{$file}/"; if ($innerHandle = opendir($file)) { while (($innerFile = readdir($innerHandle)) !== false) { - if ($innerFile === '.' || $innerFile === '..' || !is_file($file.$innerFile) || !preg_match('~^[a-zA-Z]+\.scss$~', $innerFile)) { + if ($innerFile === '.' || $innerFile === '..' || !is_file($file.$innerFile) || !preg_match('~^[a-zA-Z0-9]+\.scss$~', $innerFile)) { continue; }