if ($this->param['auto_search']) {
$controller = $this->autoFindController($module, $path);
} else {
// 解析控制器
$controller = !empty($path) ? array_shift($path) : null;
}
if ($controller && !preg_match('/^[A-Za-z0-9][\w|\.]*$/', $controller)) {
throw new HttpException(404, 'controller not exists:' . $controller);
}
// 解析操作
$action = !empty($path) ? array_shift($path) : null;
// 解析额外参数
if ($path) {
if ($this->rule->getConfig('url_param_type')) {
$var += $path;
PATH | C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps; |
SYSTEMROOT | C:\Windows |
COMSPEC | C:\Windows\system32\cmd.exe |
PATHEXT | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC |
WINDIR | C:\Windows |
PHPRC | D:/phpstudy_pro/Extensions/php/php7.3.4nts |
_FCGI_SHUTDOWN_EVENT_ | 12100 |
HTTP_CONNECTION | close |
PATH_TRANSLATED | D:\web\jgtlxx\n-6\index\.php\n-8\264.html |
PATH_INFO | /n-6/index/.php/n-8/264.html |
SCRIPT_NAME | /index.php |
REQUEST_URI | /index.php/n-6/index/.php/n-8/264.html |
QUERY_STRING | |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REMOTE_PORT | 42804 |
SCRIPT_FILENAME | D:/web/jgtlxx/index.php |
SERVER_ADMIN | admin@example.com |
CONTEXT_DOCUMENT_ROOT | D:/web/jgtlxx |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | D:/web/jgtlxx |
REMOTE_ADDR | 54.226.68.181 |
SERVER_PORT | 80 |
SERVER_ADDR | 172.25.38.225 |
SERVER_NAME | jgtlxx.com |
SERVER_SOFTWARE | Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02 |
SERVER_SIGNATURE | |
SystemRoot | C:\Windows |
HTTP_HOST | jgtlxx.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/n-6/index/.php/n-8/264.html |
REQUEST_TIME_FLOAT | 1711724712.9029 |
REQUEST_TIME | 1711724712 |
ENTER_NAME | HOME |
APP_PATH | D:\web\jgtlxx/app/ |
DS | \ |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |