From: John Molakvoæ (skjnldsv) Date: Thu, 4 Jan 2018 12:24:21 +0000 (+0100) Subject: Fixed url rebase with theming X-Git-Tag: v12.0.5RC1~18^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fa95733b0d23490d5ca6c4611e0d5c06f18e5fe5;p=nextcloud-server.git Fixed url rebase with theming Signed-off-by: John Molakvoæ (skjnldsv) --- diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index 542ca1688f5..b091e555c12 100644 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -282,7 +282,7 @@ class SCSSCacher { */ private function rebaseUrls($css, $webDir) { $re = '/url\([\'"]([\.\w?=\/-]*)[\'"]\)/x'; - $subst = 'url(\''.$webDir.'/$1\')'; + $subst = 'url('.$webDir.'/$1)'; return preg_replace($re, $subst, $css); }