Skip to content
Snippets Groups Projects
Commit d1a430db authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #6611 from nextcloud/fix-webroot-detection

Fixed webroot detection
parents 887229b7 4a5eeb2c
No related branches found
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ abstract class ResourceLocator { ...@@ -168,7 +168,7 @@ abstract class ResourceLocator {
return; return;
} }
if ($webRoot === null) { if (!$webRoot) {
$webRoot = $this->findWebRoot($root); $webRoot = $this->findWebRoot($root);
if ($webRoot === null) { if ($webRoot === null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment