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 | 44.192.247.144 |
HTTP_REFERER | http://zhaoxiaojie.club/green-bedroom-color-meaning/light-sage-green-bedroom-colors-that-go-with-furniture-dark-living-room-color-meaning-wall-paint-meani/ |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_RAY | 86bf891699435890-IAD |
HTTP_X_FORWARDED_FOR | 44.192.247.144 |
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 | 14828 |
REMOTE_ADDR | 172.70.134.239 |
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 | /green-bedroom-color-meaning/light-sage-green-bedroom-colors-that-go-with-furniture-dark-living-room-color-meaning-wall-paint-meani/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/green-bedroom-color-meaning/light-sage-green-bedroom-colors-that-go-with-furniture-dark-living-room-color-meaning-wall-paint-meani/ |
SCRIPT_FILENAME | /www/wwwroot/zhaoxiaojiejie/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711906.4623 |
REQUEST_TIME | 1711711906 |
XHProf_Name | mdd |