if ($this->param['auto_search']) {
$controller = $this->autoFindController($module, $path);
} else {
// 解析控制器
$controller = !empty($path) ? array_shift($path) : null;
}
if ($controller && !preg_match('/^[A-Za-z][\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;
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/en_inceptio_ai/public/index.php |
QUERY_STRING | s=/chanyechuangxinhezuo/47.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /chanyechuangxinhezuo/47.html |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/en_inceptio_ai/public |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.15.10 |
REMOTE_ADDR | 3.235.120.24 |
REMOTE_PORT | 49052 |
SERVER_ADDR | 10.8.82.176 |
SERVER_PORT | 80 |
SERVER_NAME | en.inceptio.ai |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | en.inceptio.ai |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711727745.8435 |
REQUEST_TIME | 1711727745 |
APP_DEBUG | false |
CMS_ROOT | /www/wwwroot/en_inceptio_ai/ |
APP_PATH | /www/wwwroot/en_inceptio_ai/app/ |
WEB_ROOT | /www/wwwroot/en_inceptio_ai/public/ |
HTMLPURIFIER_PREFIX | /www/wwwroot/en_inceptio_ai/vendor/ezyang/htmlpurifier/library |