Fixed webroot detection

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-09-22 07:17:35 +02:00
parent 887229b7b8
commit 4a5eeb2ce7
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 1 additions and 1 deletions

View File

@ -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) {