diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-01-05 08:35:38 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-01-05 08:35:38 +0100 |
commit | b95d18b85e21e5a19ff0511cf4a37cf9f229eaa5 (patch) | |
tree | eb98eacf5e73d89bcd81067ede167971ec16306e | |
parent | 7a282dee89d1b3036b7712911231dc71c06eaa55 (diff) | |
download | nextcloud-server-b95d18b85e21e5a19ff0511cf4a37cf9f229eaa5.tar.gz nextcloud-server-b95d18b85e21e5a19ff0511cf4a37cf9f229eaa5.zip |
Revert rebaseurl function edit
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | lib/private/Template/SCSSCacher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index 09c7f604273..0b85af3f27f 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); } |