aboutsummaryrefslogtreecommitdiff
path: root/server.php
diff options
context:
space:
mode:
authorCamil Staps2016-09-25 23:56:46 +0200
committerCamil Staps2016-09-26 01:02:05 +0200
commit33ad0c14d168d36a4e7ad42dc6aa6a37a7335849 (patch)
tree0543b7d92f7f0b7706f4313ba10b18483f747798 /server.php
parentAdded 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.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/server.php b/server.php
index da852bd..5fb6379 100644
--- a/server.php
+++ b/server.php
@@ -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;
}