From cbcb3894b0f227c190f8cbb92c003d6b6bb660f4 Mon Sep 17 00:00:00 2001 From: Mehul <69337738+rootpipe@users.noreply.github.com> Date: Fri, 16 Oct 2020 12:31:57 +0530 Subject: [PATCH] Code tweak to server.php (#5317) --- server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';