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

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