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;
sbdfdfd83 | jukhn3unv5n32rcvef4ki489qj |
USER | www |
HOME | /home/www |
HTTP_HOST | www.jolywood.cn |
HTTP_X_DA_CLIENT_SCHEME | http |
HTTP_ALI_CDN_APPVIEW_NAME | cdn-tengine |
HTTP_COOKIE | sbdfdfd83=jukhn3unv5n32rcvef4ki489qj |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot) |
HTTP_ALI_SWIFT_FORCE_TTL_CODE | 400=0 |
HTTP_ALI_CDN_REAL_IP | 104.206.98.10 |
HTTP_X_CLIENT_SCHEME | http |
HTTP_X_FORWARDED_FOR | 104.206.98.10 |
HTTP_ALI_SWIFT_STAT_HOST | all.jolywood.cn |
HTTP_ALI_SWIFT_LOG_HOST | www.jolywood.cn |
HTTP_ALI_PROXY_IS_FREE | 0 |
HTTP_ALI_PROXY_IS_HOT | 0 |
HTTP_EAGLEEYE_TRACEID | 3da0c00c17195716951513919e |
HTTP_VIA | cn6425.l1, kunlun9.cn6425, l2cn3125.l2, cache10.l2cn3125 |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.jolywood.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 192.168.0.196 |
REMOTE_PORT | 58284 |
REMOTE_ADDR | 115.223.23.149 |
SERVER_SOFTWARE | nginx/1.24.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/zhonglai/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /PT/Project-15.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/PT/Project-15.html |
SCRIPT_FILENAME | /www/wwwroot/zhonglai/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1719571695.2002 |
REQUEST_TIME | 1719571695 |
QINIU_FUNCTIONS_VERSION | 7.9.0 |