Code tweak to server.php (#5317)
This commit is contained in:
parent
a9d54eaa97
commit
cbcb3894b0
|
|
@ -11,7 +11,7 @@ $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 !== '/' and file_exists(__DIR__.'/'.$uri)) {
|
||||
if ($uri !== '/' && file_exists(__DIR__.'/'.$uri)) {
|
||||
return false;
|
||||
}
|
||||
require_once __DIR__.'/index.php';
|
||||
|
|
|
|||
Loading…
Reference in New Issue