$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 | bae |
HOME | /home/bae |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | penquan.com |
HTTP_CLIENTIP | 3.88.114.76 |
HTTP_X_FORWARDED_FOR | 3.88.114.76 |
HTTP_X_FORWARDED_PROTO | http |
REDIRECT_STATUS | 200 |
SERVER_NAME | penquan.com |
SERVER_ADDR | 172.17.0.67 |
REMOTE_PORT | |
REMOTE_ADDR | 3.88.114.76 |
SERVER_SOFTWARE | nginx/1.16.1 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/bae/app |
DOCUMENT_URI | /index.php/cn/Product/index/p/4.html |
REQUEST_URI | /index.php/cn/Product/index/p/4.html |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
SERVER_PORT | 80 |
PATH_INFO | /cn/Product/index/p/4.html |
SCRIPT_NAME | /index.php/cn/Product/index/p/4.html |
SCRIPT_FILENAME | /home/bae/app/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/cn/Product/index/p/4.html/cn/Product/index/p/4.html |
REQUEST_TIME_FLOAT | 1711711784.0827 |
REQUEST_TIME | 1711711784 |
SERVER_SOFTWARE | bae/3.0 |
BAE_ENV_APPID | appgzecj78pf4k0 |
BAE_ENV_LOG_HOST | 172.17.0.1 |
BAE_ENV_LOG_PORT | 7000 |
BAE_MEMORY | 128 |
APP_PATH | /home/bae/app/app/ |
__PHYSICS__ | /home/bae/app |