Sfoglia il codice sorgente

更新 'application/config.php'

Me 5 anni fa
parent
commit
8c26e3a624
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      application/config.php

+ 1 - 1
application/config.php

@@ -95,7 +95,7 @@ return [
     // 是否开启路由解析缓存
     'route_check_cache'      => false,
     // 是否强制使用路由
-    'url_route_must'         => false,
+    'url_route_must'         => true,
     // 域名部署
     'url_domain_deploy'      => false,
     // 域名根,如thinkphp.cn