Commit 7cbe38c0 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #3302 from EliuFlorez/patch-13

Update server.php
parents 393569bf 3bd05849
...@@ -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