diff --git a/public/index.php b/public/index.php index dd821e3..4b0a035 100644 --- a/public/index.php +++ b/public/index.php @@ -30,6 +30,8 @@ if (PHP_SAPI == 'cli-server') { $file = __DIR__ . $url['path']; if (is_file($file)) { return false; + } elseif (pathinfo($url['path'], PATHINFO_EXTENSION) !== "") { + return false; } }