summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-22 07:17:35 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-22 07:20:31 +0200
commit4a5eeb2ce78bc358e5c51ef20bf72d4e11cb5648 (patch)
treea2e9fcd8efb7c24313f49ad4f439eebb6b92bc0f
parent887229b7b852573393a96c0e08ebd1e53346fe73 (diff)
downloadnextcloud-server-4a5eeb2ce78bc358e5c51ef20bf72d4e11cb5648.tar.gz
nextcloud-server-4a5eeb2ce78bc358e5c51ef20bf72d4e11cb5648.zip
Fixed webroot detection
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rwxr-xr-xlib/private/Template/ResourceLocator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/ResourceLocator.php b/lib/private/Template/ResourceLocator.php
index eb6b1d3c594..468fe7e60a6 100755
--- a/lib/private/Template/ResourceLocator.php
+++ b/lib/private/Template/ResourceLocator.php
@@ -168,7 +168,7 @@ abstract class ResourceLocator {
return;
}
- if ($webRoot === null) {
+ if (!$webRoot) {
$webRoot = $this->findWebRoot($root);
if ($webRoot === null) {