$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 | www |
HOME | /home/www |
HTTP_X_ALICDN_DA_VIA | 61.170.77.224,114.80.59.252 |
HTTP_ALI_CDN_APPVIEW_NAME | cdn-tengine |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_ALI_SWIFT_FORCE_TTL_CODE | 400=0 |
HTTP_X_CLIENT_SCHEME | http |
HTTP_X_FORWARDED_FOR | 34.201.19.151 |
HTTP_ALI_SWIFT_STAT_HOST | www.59rw.com |
HTTP_ALI_SWIFT_LOG_HOST | www.59rw.com |
HTTP_ALI_CDN_REAL_IP | 34.201.19.151 |
HTTP_ALI_CDN_REAL_PORT | 43326 |
HTTP_EAGLEEYE_TRACEID | 3daa4d2017116940214005307e |
HTTP_VIA | cn6020.l1, l2et2-2.l2 |
HTTP_HOST | www.59rw.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.59rw.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.19.36.121 |
REMOTE_PORT | 36312 |
REMOTE_ADDR | 101.132.57.192 |
SERVER_SOFTWARE | nginx/1.21.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /disk2/erjidaili4.danews.cc/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /post-1185-76-1.shtml |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/post-1185-76-1.shtml |
SCRIPT_FILENAME | /disk2/erjidaili4.danews.cc/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711694021.4076 |
REQUEST_TIME | 1711694021 |
APP_PATH | /disk2/erjidaili4.danews.cc/public/../application/ |
DS | / |
ROOT_PATH | /disk2/erjidaili4.danews.cc/ |
FILTER_VALIDATE_BOOL | 258 |