Source code for cock.li
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Laravel - A PHP Framework For Web Artisans
  4. *
  5. * @package Laravel
  6. * @author Taylor Otwell <taylorotwell@gmail.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. {
  16. return false;
  17. }
  18. require_once __DIR__.'/public/index.php';