summaryrefslogtreecommitdiffstats
path: root/lib/private/Template/CSSResourceLocator.php
diff options
context:
space:
mode:
authorSebastian Kostka <sebastian.kostka@gmail.com>2017-06-20 22:06:31 +0200
committerSebastian Kostka <sebastian.kostka@gmail.com>2017-06-20 22:15:20 +0200
commitc7ce42e45b26554594562ed4c5025a74af85d442 (patch)
treed181eebab7c654815821a462b8cff77994eee40e /lib/private/Template/CSSResourceLocator.php
parentf901861f811e634e3f05f45d008be2258288cec7 (diff)
downloadnextcloud-server-c7ce42e45b26554594562ed4c5025a74af85d442.tar.gz
nextcloud-server-c7ce42e45b26554594562ed4c5025a74af85d442.zip
Squashed the webroot fix
Signed-off-by: Sebastian Kostka <sebastian.kostka@gmail.com>
Diffstat (limited to 'lib/private/Template/CSSResourceLocator.php')
-rw-r--r--lib/private/Template/CSSResourceLocator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/CSSResourceLocator.php b/lib/private/Template/CSSResourceLocator.php
index 0150449ac9f..32dabb48c0d 100644
--- a/lib/private/Template/CSSResourceLocator.php
+++ b/lib/private/Template/CSSResourceLocator.php
@@ -117,7 +117,7 @@ class CSSResourceLocator extends ResourceLocator {
parent::append($root, $file, $webRoot, $throw);
} else {
if (!$webRoot) {
- $tmpRoot = $root;
+ $tmpRoot = realpath($root);
/*
* traverse the potential web roots upwards in the path
*