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;
DOCUMENT_ROOT | /usr/home/qxu1194870170/htdocs |
GATEWAY_INTERFACE | CGI/1.1 |
HTTP_ACCEPT | */* |
HTTP_HOST | www.huachangbio.com |
HTTP_USER_AGENT | claudebot |
PATH | /bin:/usr/bin |
PHPRC | /var/www/php72/hichina_ini/qxu1194870170 |
QUERY_STRING | |
REDIRECT_DOCUMENT_ROOT | /usr/home/qxu1194870170/htdocs |
REDIRECT_GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_HTTP_ACCEPT | */* |
REDIRECT_HTTP_HOST | www.huachangbio.com |
REDIRECT_HTTP_USER_AGENT | claudebot |
REDIRECT_PATH | /bin:/usr/bin |
REDIRECT_PATH_INFO | news/499.html |
REDIRECT_PATH_TRANSLATED | redirect:/index.php |
REDIRECT_QUERY_STRING | |
REDIRECT_REMOTE_ADDR | 3.238.84.213 |
REDIRECT_REMOTE_PORT | 41116 |
REDIRECT_REQUEST_METHOD | GET |
REDIRECT_REQUEST_URI | /news/499.html |
REDIRECT_SCRIPT_FILENAME | /usr/home/qxu1194870170/htdocs/news |
REDIRECT_SCRIPT_NAME | /news |
REDIRECT_SERVER_ADDR | 121.42.91.17 |
REDIRECT_SERVER_ADMIN | webmaster@qxu1194870170.my3w.com |
REDIRECT_SERVER_NAME | www.huachangbio.com |
REDIRECT_SERVER_PORT | 80 |
REDIRECT_SERVER_PROTOCOL | HTTP/1.1 |
REDIRECT_SERVER_SIGNATURE | |
REDIRECT_SERVER_SOFTWARE | Apache |
REDIRECT_STATUS | 200 |
REDIRECT_UNIQUE_ID | ZgbTLwofR@EAAGGGgjMAAAAh |
REDIRECT_URL | /news/499.html |
REMOTE_ADDR | 3.238.84.213 |
REMOTE_PORT | 41116 |
REQUEST_METHOD | GET |
REQUEST_URI | /news/499.html |
SCRIPT_FILENAME | /usr/home/qxu1194870170/htdocs/index.php |
SCRIPT_NAME | /index.php |
SERVER_ADDR | 121.42.91.17 |
SERVER_ADMIN | webmaster@qxu1194870170.my3w.com |
SERVER_NAME | www.huachangbio.com |
SERVER_PORT | 80 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
UNIQUE_ID | ZgbTLwofR@EAAGGGgjMAAAAh |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711723311.4702 |
REQUEST_TIME | 1711723311 |
PUBLIC_PATH | /public/ |
UPLOAD_PATH | /upload/ |
HTML_PATH | /html/ |
VIEW_PATH | ./template/skin001/pc/html_8768/ |