Fix routing for static content with internal webserver
This commit is contained in:
parent
86cc256a82
commit
f04d765365
|
@ -87,7 +87,7 @@ if (in_array($path, $special)) {
|
||||||
$pie->initFromRequest();
|
$pie->initFromRequest();
|
||||||
echo $pie->render();
|
echo $pie->render();
|
||||||
|
|
||||||
} elseif (file_exists($baseDir . $ruri) && is_file($baseDir . $ruri)) {
|
} elseif (file_exists($baseDir . '/' . $path) && is_file($baseDir . '/' . $path)) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
include __DIR__ . '/Web.php';
|
include __DIR__ . '/Web.php';
|
||||||
|
|
Loading…
Reference in New Issue