Squashed the webroot fix

Signed-off-by: Sebastian Kostka <sebastian.kostka@gmail.com>
This commit is contained in:
Sebastian Kostka 2017-06-20 22:06:31 +02:00
parent f901861f81
commit c7ce42e45b
2 changed files with 2 additions and 2 deletions

View File

@ -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
*

View File

@ -125,7 +125,7 @@ abstract class ResourceLocator {
}
if (!$webRoot) {
$tmpRoot = $root;
$tmpRoot = realpath($root);
/*
* traverse the potential web roots upwards in the path
*