$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 |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/jlajzx.com/index.php |
QUERY_STRING | s=/kp2018020%E4%B8%AD%E7%B2%AE%E7%B1%B3%E4%B8%9A%EF%BC%88%E5%90%89%E6%9E%97%EF%BC%89%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8-3-2%E4%B8%87%E5%90%A8%E5%8E%9F%E7%B2%AE%E5%B9%B3%E6%88%BF%E4%BB%93%E6%89%A9.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /kp2018020%e4%b8%ad%e7%b2%ae%e7%b1%b3%e4%b8%9a%ef%bc%88%e5%90%89%e6%9e%97%ef%bc%89%e6%9c%89%e9%99%90%e5%85%ac%e5%8f%b8-3-2%e4%b8%87%e5%90%a8%e5%8e%9f%e7%b2%ae%e5%b9%b3%e6%88%bf%e4%bb%93%e6%89%a9.html |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/jlajzx.com |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.22.0 |
REMOTE_ADDR | 44.222.196.236 |
REMOTE_PORT | 43454 |
SERVER_ADDR | 172.23.162.30 |
SERVER_PORT | 80 |
SERVER_NAME | jlajzx.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | jlajzx.com |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711687552.5269 |
REQUEST_TIME | 1711687552 |
TPL_PATH_NAME | tpl |
STATIC_PATH_NAME | static |
__PUBLIC__ | /www/wwwroot/jlajzx.com/tpl/public/ |
DS | / |
ADDONS_PATH | ./addons/ |