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 | 54.81.136.84 |
HTTP_REFERER | http://zhaoxiaojie.club/grey-bathroom-tiles-wickes/white-mirror-top-vanity-set-sets-texture-small-wall-storage-images-floor-ideas-dark-grey-bathroom-tiles-wickes-manhattan/ |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_RAY | 86bf7f5d0d3f82de-IAD |
HTTP_X_FORWARDED_FOR | 54.81.136.84 |
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 | 60332 |
REMOTE_ADDR | 172.70.174.101 |
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 | /grey-bathroom-tiles-wickes/white-mirror-top-vanity-set-sets-texture-small-wall-storage-images-floor-ideas-dark-grey-bathroom-tiles-wickes-manhattan/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/grey-bathroom-tiles-wickes/white-mirror-top-vanity-set-sets-texture-small-wall-storage-images-floor-ideas-dark-grey-bathroom-tiles-wickes-manhattan/ |
SCRIPT_FILENAME | /www/wwwroot/zhaoxiaojiejie/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711508.1369 |
REQUEST_TIME | 1711711508 |
XHProf_Name | mdd |