diff --git a/server.php b/server.php index 8f37587762c..c7e378dff4a 100644 --- a/server.php +++ b/server.php @@ -13,7 +13,7 @@ // 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; }