$available = true;
}
// 模块初始化
if ($module && $available) {
// 初始化模块
$this->request->setModule($module);
$this->app->init($module);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
}
// 是否自动转换控制器和操作名
$convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert');
// 获取控制器名
$controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
$this->controller = $convert ? strtolower($controller) : $controller;
dp_sess | 78b25e341b79cc57557e8203576c85bde1090cc7c46acf22 |
language | zh |
sid | 2fcag6eebb0d365e70a4770516dfe5cfec30a |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/www.gdaria.com/public/index.php |
QUERY_STRING | s=/product.html.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /product.html.html |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/www.gdaria.com/public |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.22.1 |
REMOTE_ADDR | 50.2.184.114 |
REMOTE_PORT | 47926 |
SERVER_ADDR | 172.16.0.16 |
SERVER_PORT | 80 |
SERVER_NAME | www.gdaria.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_USER_AGENT | Mozilla/5.0 X11; Ubuntu; Linux x86_64; rv:126.0 Gecko/20100101 Firefox/126.0 |
HTTP_HOST | www.gdaria.com |
HTTP_ACCEPT | */* |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_COOKIE | dp.sess=78b25e341b79cc57557e8203576c85bde1090cc7c46acf22; language=zh; sid=2fcag6eebb0d365e70a4770516dfe5cfec30a |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1758147294.7202 |
REQUEST_TIME | 1758147294 |