From e656353bc8960ca6486a997f3260d30a657506b7 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 9 Oct 2016 19:09:05 +0200 Subject: [PATCH] Fixed detection of scss files --- wcfsetup/install/files/lib/system/style/StyleCompiler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1