增加APP_HOOK常量 用于是否启用 hook

This commit is contained in:
thinkphp
2015-12-10 21:56:20 +08:00
parent 8972df8a98
commit 65be8f094c
4 changed files with 18 additions and 22 deletions

View File

@@ -48,7 +48,7 @@ return [
// PATHINFO变量名 用于兼容模式
'var_pathinfo' => 's',
// 兼容PATH_INFO获取
'pathinfo_fetch' => 'ORIG_PATH_INFO,REDIRECT_PATH_INFO,REDIRECT_URL',
'pathinfo_fetch' => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'],
// pathinfo分隔符
'pathinfo_depr' => '/',
// 获取当前页面地址的系统变量 默认为REQUEST_URI