Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #201 from zauguin/master

PHP Built-In Web  Server
  • Loading branch information...
commit 4da58fb72b5cce9529d09fc8248b1f34835a4a85 2 parents 807ccbc + 26f3fec
@klaussilveira authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 index.php
View
4 index.php
@@ -10,6 +10,10 @@
date_default_timezone_set('UTC');
}
+if(php_sapi_name() == 'cli-server' && file_exists(substr($_SERVER['REQUEST_URI'], 1))) {
+ return false;
+}
+
require 'vendor/autoload.php';
// Load configuration
Please sign in to comment.
Something went wrong with that request. Please try again.