Some refactoring [skip ci]

This commit is contained in:
James Cole
2015-01-02 06:05:40 +01:00
parent f1dcc41e42
commit 24bdc319dd
15 changed files with 43 additions and 41 deletions

View File

@@ -11,7 +11,7 @@ $requested = $paths['public'].$uri;
// 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($requested))
if ($uri !== '/' && file_exists($requested))
{
return false;
}