From: Alexander Ebert Date: Wed, 14 Mar 2012 15:12:41 +0000 (+0100) Subject: New line was not handled correctly X-Git-Tag: 2.0.0_Beta_1~1232 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cbad249780d0f0e1610f18867a8fb90cebf4cafe;p=GitHub%2FWoltLab%2FWCF.git New line was not handled correctly --- diff --git a/wcfsetup/install/files/lib/page/LessStylesheetsPage.class.php b/wcfsetup/install/files/lib/page/LessStylesheetsPage.class.php index 8f63e1ab24..e2a82fb4b3 100644 --- a/wcfsetup/install/files/lib/page/LessStylesheetsPage.class.php +++ b/wcfsetup/install/files/lib/page/LessStylesheetsPage.class.php @@ -8,7 +8,7 @@ class LessStylesheetsPage extends AbstractPage { @header('Content-Type: text/css'); foreach (explode("\n", LESS_FILES) as $stylesheet) { - $path = WCF_DIR . 'style/'.$stylesheet.'.less'; + $path = WCF_DIR . 'style/'.trim($stylesheet).'.less'; if (!file_exists($path)) { echo "\n\nFILE NOT FOUND: ".$path."\n\n\n"; }