summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-01-04 13:24:21 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-01-04 13:24:21 +0100
commitfa95733b0d23490d5ca6c4611e0d5c06f18e5fe5 (patch)
treec16523ce65c6488a3d634ee6cad25f6eee8a6387
parent51cc76b80db415320c8e34cbc961855fac77b77c (diff)
downloadnextcloud-server-fa95733b0d23490d5ca6c4611e0d5c06f18e5fe5.tar.gz
nextcloud-server-fa95733b0d23490d5ca6c4611e0d5c06f18e5fe5.zip
Fixed url rebase with theming
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--lib/private/Template/SCSSCacher.php2
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);
}