Merge pull request #3302 from EliuFlorez/patch-13

Update server.php
This commit is contained in:
Taylor Otwell 2015-03-04 09:41:28 -06:00
commit 7cbe38c0a9
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
// 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;
} }