Update server.php
Replace and by &&
This commit is contained in:
@@ -13,7 +13,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__.'/public'.$uri))
|
||||
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user