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;
PHPSESSID | t9vlsbpcmdt1uc1f9eeqg11n21 |
BAEID | 35C34712A067F74C53CDB465619F8C37 |
USER | bae |
HOME | /home/bae |
HTTP_COOKIE | PHPSESSID=t9vlsbpcmdt1uc1f9eeqg11n21; BAEID=35C34712A067F74C53CDB465619F8C37 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | www.ahldf.com.cn |
HTTP_CLIENTIP | 23.231.77.10 |
HTTP_X_FORWARDED_FOR | 23.231.77.10 |
HTTP_X_FORWARDED_PROTO | http |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.ahldf.com.cn |
SERVER_ADDR | 172.17.0.11 |
REMOTE_PORT | |
REMOTE_ADDR | 23.231.77.10 |
SERVER_SOFTWARE | nginx/1.16.1 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/bae/app |
DOCUMENT_URI | /index.php/HeBei-xydt/xsgmblx-32102.html |
REQUEST_URI | /HeBei-xydt/xsgmblx-32102.html |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
SERVER_PORT | 80 |
PATH_INFO | /HeBei-xydt/xsgmblx-32102.html |
SCRIPT_NAME | /index.php/HeBei-xydt/xsgmblx-32102.html |
SCRIPT_FILENAME | /home/bae/app/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/HeBei-xydt/xsgmblx-32102.html/HeBei-xydt/xsgmblx-32102.html |
REQUEST_TIME_FLOAT | 1711647612.6043 |
REQUEST_TIME | 1711647612 |
SERVER_SOFTWARE | bae/3.0 |
BAE_ENV_APPID | appid1z6j8br3r2 |
BAE_ENV_LOG_HOST | 172.17.0.1 |
BAE_ENV_LOG_PORT | 7000 |
BAE_MEMORY | 128 |
DS | / |
APP_PATH | /home/bae/app/./application/ |
CONF_PATH | /home/bae/app/./config/ |
PUBILC_PATH | /home/bae/app/ |
ROOT_PATH | /home/bae/app |
CACHE_PATH | /home/bae/app/./runtime/ |
CONFIG_PATH | /home/bae/app/./config/ |
UPLOAD_PATH | uploads |