Mirror of github.com/ppy/osu-web, in case ppy decides to take the original down for some reason.
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 547B

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