From c5838334a91c30e5b41622acc4267882a0075cdd Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 14 Mar 2012 15:53:44 +0100 Subject: [PATCH] Fixes replacement in LESS stylesheets --- wcfsetup/install/files/lib/page/LessStylesheetsPage.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/page/LessStylesheetsPage.class.php b/wcfsetup/install/files/lib/page/LessStylesheetsPage.class.php index f0dec89d98..8f63e1ab24 100644 --- a/wcfsetup/install/files/lib/page/LessStylesheetsPage.class.php +++ b/wcfsetup/install/files/lib/page/LessStylesheetsPage.class.php @@ -18,8 +18,7 @@ class LessStylesheetsPage extends AbstractPage { // use absolute path for url() $application = ApplicationHandler::getInstance()->getApplication('wcf'); $absolutePath = $application->domainName . $application->domainPath; - - preg_replace('~url\(\'..\/~', 'url(\''.$absolutePath, $content); + $content = preg_replace('~url\(\'..\/~', 'url(\''.$absolutePath, $content); echo $content; } -- 2.20.1