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

Fixed webroot detection
This commit is contained in:
Roeland Jago Douma 2017-09-22 12:14:25 +02:00 committed by GitHub
commit d1a430dbd8

View file

@ -168,7 +168,7 @@ abstract class ResourceLocator {
return;
}
if ($webRoot === null) {
if (!$webRoot) {
$webRoot = $this->findWebRoot($root);
if ($webRoot === null) {