$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;
USER | apache |
HOME | /usr/share/httpd |
HTTP_HOST | master.jiaju01.com |
HTTP_REFERER | https://www.jiaju01.com/group_list.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
REDIRECT_STATUS | 200 |
SERVER_NAME | master.jiaju01.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.18.194.181 |
REMOTE_PORT | 51082 |
REMOTE_ADDR | 54.210.143.119 |
SERVER_SOFTWARE | nginx/1.16.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/wwwroot/default/master/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /pc/group_list.html/group_list.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//pc/group_list.html/group_list.html |
SCRIPT_FILENAME | /home/wwwroot/default/master/public//index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711727747.8018 |
REQUEST_TIME | 1711727747 |
IN_ECS | true |
PECENT | 0.1 |
MAX_FILE_SIZE | 20 |
DS | / |
__MY_HTTP__ | https |
__MY_ROOT__ | |
__MY_ROOT_PUBLIC__ | / |
__MY_HOST__ | master.jiaju01.com |
__MY_URL__ | https://master.jiaju01.com/ |
__MY_PUBLIC_URL__ | https://master.jiaju01.com/ |
__MY_VIEW_URL__ | https://master.jiaju01.com/pc/group_list.html/group_list.html |
ROOT_PATH | /home/wwwroot/default/master/public/ |
ROOT | /home/wwwroot/default/master/ |
APP_PATH | /home/wwwroot/default/master/application/ |
PHP_SELF | /index.php |