Fix routing for static content with internal webserver

This commit is contained in:
Thomas Gelf 2014-04-17 20:58:34 +00:00
parent 86cc256a82
commit f04d765365
1 changed files with 1 additions and 1 deletions

View File

@ -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';