$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_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_ALI_CDN_REAL_IP | 54.152.5.73 |
HTTP_X_CLIENT_SCHEME | http |
HTTP_X_FORWARDED_FOR | 54.152.5.73 |
HTTP_ALI_SWIFT_STAT_HOST | level2.www.cslou.com |
HTTP_ALI_SWIFT_LOG_HOST | www.cslou.com |
HTTP_EAGLEEYE_TRACEID | 3da0c01217116392577646615e |
HTTP_VIA | cn6425.l1, kunlun7.cn6425, l2cn3160.l2, cache8.l2cn3160 |
HTTP_HOST | www.cslou.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.cslou.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.17.55.224 |
REMOTE_PORT | 36646 |
REMOTE_ADDR | 112.82.213.28 |
SERVER_SOFTWARE | nginx/1.16.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/cslou.quantify.top/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /lease-changsha-m1_1.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/lease-changsha-m1_1.html |
SCRIPT_FILENAME | /www/wwwroot/cslou.quantify.top/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711639257.8186 |
REQUEST_TIME | 1711639257 |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |