diff --git a/server.php b/server.php index c42e5946c..b0f8cf081 100644 --- a/server.php +++ b/server.php @@ -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';