tip Dogecoin to all your Twitter peeps. To the moon!!!
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 519B

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