diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-01-04 13:24:21 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-01-04 13:24:21 +0100 |
commit | fa95733b0d23490d5ca6c4611e0d5c06f18e5fe5 (patch) | |
tree | c16523ce65c6488a3d634ee6cad25f6eee8a6387 /lib | |
parent | 51cc76b80db415320c8e34cbc961855fac77b77c (diff) | |
download | nextcloud-server-fa95733b0d23490d5ca6c4611e0d5c06f18e5fe5.tar.gz nextcloud-server-fa95733b0d23490d5ca6c4611e0d5c06f18e5fe5.zip |
Fixed url rebase with theming
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib')
-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 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); } |