$available = true;
}
// 模塊初始化
if ($module && $available) {
// 初始化模塊
$this->request->setModule($module);
$this->app->init($module);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
}
// 是否自動(dòng)轉(zhuǎn)換控制器和操作名
$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 | www |
HOME | /home/www |
HTTP_ACCEPT_ENCODING | gzip, identity;q=0.9 |
HTTP_ACCEPT_LANGUAGE | zh, en, * |
HTTP_ACCEPT | text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1 |
HTTP_USER_AGENT | Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98) |
HTTP_HOST | www.cdlfcl.cn |
HTTP_CONNECTION | keep-alive |
HTTP_REFERER | http://www.cdlfcl.cn/ |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.cdlfcl.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.29.248.240 |
REMOTE_PORT | 61933 |
REMOTE_ADDR | 27.23.31.22 |
SERVER_SOFTWARE | nginx/1.24.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.cdlfcl.cn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /theme/web/images/ewm.jpg0 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/theme/web/images/ewm.jpg0 |
SCRIPT_FILENAME | /www/wwwroot/www.cdlfcl.cn/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1728869104.3955 |
REQUEST_TIME | 1728869104 |