Skip to content

Commit f0c103e

Browse files
author
FemtoTechnology1
authored
Update server.php
instaed of using / we can use isset function
1 parent 85084e4 commit f0c103e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
1212
// built-in PHP web server. This provides a convenient way to test a Laravel
1313
// application without having installed a "real" web server software here.
14-
if ($uri !== '/' and file_exists($requested))
14+
if (isset($uri) and file_exists($requested))
1515
{
1616
return false;
1717
}

0 commit comments

Comments
 (0)