Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/208'
Browse files Browse the repository at this point in the history
Closes jdorn#208
  • Loading branch information
jdorn committed Apr 13, 2016
2 parents 54b243a + 1ddacc1 commit 33cc194
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
// for build-in php server serve the requested resource as-is.
if (php_sapi_name() == 'cli-server' && preg_match('/\.(?:png|jpg|jpeg|gif|css|js)$/', $_SERVER["REQUEST_URI"])) {
return false;
}

session_start();

//set php ini so the page doesn't time out for long requests
Expand Down

0 comments on commit 33cc194

Please sign in to comment.