Sin descripción

123456789101112131415161718192021
  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';