$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;
rootcl | 133 |
clss | |
news_id | 1670 |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/sxdzgc.com/public/index.php |
QUERY_STRING | s=/news.asp&rootcl=133&clss=&news_id=1670 |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /news.asp?rootcl=133&clss=&news_id=1670 |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/sxdzgc.com/public |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.18.0 |
REMOTE_ADDR | 18.206.13.112 |
REMOTE_PORT | 41362 |
SERVER_ADDR | 10.0.0.119 |
SERVER_PORT | 80 |
SERVER_NAME | sxdzgc.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | sxdzgc.com |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711667293.9302 |
REQUEST_TIME | 1711667293 |
APP_PATH | ../application/ |
DEFAULT_MODULE | home |
B_PIC | 1 |
B_TOP | 2 |
B_REC | 4 |
B_SREC | 8 |
B_SLIDE | 16 |
B_JUMP | 32 |
B_OTHER | 64 |