You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

server.php 424B

123456789101112
  1. <?php
  2. $uri = urldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
  3. // This file allows us to emulate Apache's "mod_rewrite" functionality from the
  4. // built-in PHP web server. This provides a convenient way to test a Lumen
  5. // application without having installed a "real" server software here.
  6. if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
  7. return false;
  8. }
  9. require_once __DIR__.'/public/index.php';