]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed url rebase with theming
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 4 Jan 2018 12:24:21 +0000 (13:24 +0100)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 4 Jan 2018 12:24:21 +0000 (13:24 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
lib/private/Template/SCSSCacher.php

index 542ca1688f556b66332a242a70be85d453e16a25..b091e555c1260f8a6ea789b1c38498bd0e2c6c91 100644 (file)
@@ -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);
        }