Commit 3bd05849 by Eliu Florez

Update server.php

Replace and by &&
parent 393569bf
...@@ -13,7 +13,7 @@ $uri = urldecode( ...@@ -13,7 +13,7 @@ $uri = urldecode(
// This file allows us to emulate Apache's "mod_rewrite" functionality from the // 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 // built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here. // 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; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment