diff --git a/server.php b/server.php index 5fb6379..a2a68f3 100755 --- a/server.php +++ b/server.php @@ -14,8 +14,8 @@ $uri = urldecode( // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web server. This provides a convenient way to test a Laravel // application without having installed a "real" web server software here. -if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { +if ($uri !== '/' && file_exists(__DIR__.$uri)) { return false; } -require_once __DIR__.'/public/index.php'; +require_once __DIR__.'index.php';