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;
existence | 0 |
USER | www |
HOME | /home/www |
HTTP_CF_IPCOUNTRY | US |
HTTP_CDN_LOOP | cloudflare |
HTTP_CF_CONNECTING_IP | 3.236.247.213 |
HTTP_REFERER | http://zhaoxiaojie.club/dining-room-decor-2018/decor-trends-whats-in-out-and-here-to-stay-dining-room-2018/ |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_RAY | 86c09f8f8dec07b7-IAD |
HTTP_X_FORWARDED_FOR | 3.236.247.213 |
HTTP_ACCEPT_ENCODING | gzip, br |
HTTP_CONNECTION | Keep-Alive |
HTTP_HOST | zhaoxiaojie.club |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | zhaoxiaojie.club |
SERVER_PORT | 80 |
SERVER_ADDR | 23.95.18.172 |
REMOTE_PORT | 26362 |
REMOTE_ADDR | 172.70.43.113 |
SERVER_SOFTWARE | nginx/1.21.4 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/zhaoxiaojiejie/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /dining-room-decor-2018/decor-trends-whats-in-out-and-here-to-stay-dining-room-2018/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/dining-room-decor-2018/decor-trends-whats-in-out-and-here-to-stay-dining-room-2018/ |
SCRIPT_FILENAME | /www/wwwroot/zhaoxiaojiejie/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711723312.6848 |
REQUEST_TIME | 1711723312 |
XHProf_Name | mdd |