From 54bcdeb83a172da5c9e19275b451d1f7263bbe76 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 13 Mar 2012 16:20:23 +0100 Subject: [PATCH] Work-around for LESS-Stylesheets --- .../acp/page/LessStylesheetsPage.class.php | 19 +------------------ .../lib/page/LessStylesheetsPage.class.php | 13 +++++++++++-- 2 files changed, 12 insertions(+), 20 deletions(-) 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 +} -- 2.20.1