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.220.41.140 |
HTTP_REFERER | http://zhaoxiaojie.club/movable-kitchen-island-home-depot/kitchen-islands-carts-utility-tables-the-home-depot-pertaining-to-island-table-ideas-movable-intended-for-utili/ |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_RAY | 86ba8406de6a5967-IAD |
HTTP_X_FORWARDED_FOR | 44.220.41.140 |
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 | 23138 |
REMOTE_ADDR | 172.70.34.164 |
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 | /movable-kitchen-island-home-depot/kitchen-islands-carts-utility-tables-the-home-depot-pertaining-to-island-table-ideas-movable-intended-for-utili/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/movable-kitchen-island-home-depot/kitchen-islands-carts-utility-tables-the-home-depot-pertaining-to-island-table-ideas-movable-intended-for-utili/ |
SCRIPT_FILENAME | /www/wwwroot/zhaoxiaojiejie/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711659270.3378 |
REQUEST_TIME | 1711659270 |
XHProf_Name | mdd |