From cbad249780d0f0e1610f18867a8fb90cebf4cafe Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 14 Mar 2012 16:12:41 +0100 Subject: [PATCH] New line was not handled correctly --- wcfsetup/install/files/lib/page/LessStylesheetsPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.20.1