diff options
author | Camil Staps | 2016-09-25 23:56:46 +0200 |
---|---|---|
committer | Camil Staps | 2016-09-26 01:02:05 +0200 |
commit | 33ad0c14d168d36a4e7ad42dc6aa6a37a7335849 (patch) | |
tree | 0543b7d92f7f0b7706f4313ba10b18483f747798 /server.php | |
parent | Added unique visitors to statistics (diff) |
Change from lumen 5.2 to laravel 5.3 (Resolves #1)
Diffstat (limited to 'server.php')
-rw-r--r-- | server.php | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1,10 +1,19 @@ <?php -$uri = urldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)); +/** + * Laravel - A PHP Framework For Web Artisans + * + * @package Laravel + * @author Taylor Otwell <taylor@laravel.com> + */ + +$uri = urldecode( + parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) +); // 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 Lumen -// application without having installed a "real" server software here. +// 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 !== '/' && file_exists(__DIR__.'/public'.$uri)) { return false; } |