mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Update server.php
Replace and by &&
This commit is contained in:
parent
393569bfda
commit
3bd0584920
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user