From: Alexander Ebert Date: Tue, 13 Mar 2012 15:20:23 +0000 (+0100) Subject: Work-around for LESS-Stylesheets X-Git-Tag: 2.0.0_Beta_1~1240 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=54bcdeb83a172da5c9e19275b451d1f7263bbe76;p=GitHub%2FWoltLab%2FWCF.git Work-around for LESS-Stylesheets --- diff --git a/wcfsetup/install/files/lib/acp/page/LessStylesheetsPage.class.php b/wcfsetup/install/files/lib/acp/page/LessStylesheetsPage.class.php index 33ee166077..399660af02 100644 --- a/wcfsetup/install/files/lib/acp/page/LessStylesheetsPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/LessStylesheetsPage.class.php @@ -1,21 +1,4 @@ getApplication('wcf'); + $absolutePath = $application->domainName . $application->domainPath; + + preg_replace('~url\(\'..\/~', 'url(\''.$absolutePath, $content); + + echo $content; } } } } -} \ No newline at end of file +}