Fixed webroot detection
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
887229b7b8
commit
4a5eeb2ce7
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue