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();
echo $pie->render();
} elseif (file_exists($baseDir . $ruri) && is_file($baseDir . $ruri)) {
} elseif (file_exists($baseDir . '/' . $path) && is_file($baseDir . '/' . $path)) {
return false;
} else {
include __DIR__ . '/Web.php';