diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-22 07:17:35 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-22 07:20:31 +0200 |
commit | 4a5eeb2ce78bc358e5c51ef20bf72d4e11cb5648 (patch) | |
tree | a2e9fcd8efb7c24313f49ad4f439eebb6b92bc0f | |
parent | 887229b7b852573393a96c0e08ebd1e53346fe73 (diff) | |
download | nextcloud-server-4a5eeb2ce78bc358e5c51ef20bf72d4e11cb5648.tar.gz nextcloud-server-4a5eeb2ce78bc358e5c51ef20bf72d4e11cb5648.zip |
Fixed webroot detection
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rwxr-xr-x | lib/private/Template/ResourceLocator.php | 2 |
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) { |