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.

21 rivejä
563 B

  1. <?php
  2. /**
  3. * Laravel - A PHP Framework For Web Artisans
  4. *
  5. * @package Laravel
  6. * @author Taylor Otwell <taylor@laravel.com>
  7. */
  8. $uri = urldecode(
  9. parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
  10. );
  11. // This file allows us to emulate Apache's "mod_rewrite" functionality from the
  12. // built-in PHP web server. This provides a convenient way to test a Laravel
  13. // application without having installed a "real" web server software here.
  14. if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
  15. return false;
  16. }
  17. require_once __DIR__.'/public/index.php';