$this->app['lang']->load($this->app->getAppPath() . $module . '/lang/' . $this->app['request']->langset() . '.php');
// 模块请求缓存检查
$this->app['request']->cache(
$this->app->config('app.request_cache'),
$this->app->config('app.request_cache_expire'),
$this->app->config('app.request_cache_except')
);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
} else {
// 单一模块部署
$module = '';
$this->app['request']->module($module);
}
// 当前模块路径
$this->app->setModulePath($this->app->getAppPath() . ($module ? $module . '/' : ''));
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/www.ebl100.com/public/index.php |
QUERY_STRING | s=/life/detail/life_id/337.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /life/detail/life_id/337.html |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/www.ebl100.com/public |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.22.1 |
REMOTE_ADDR | 54.145.82.104 |
REMOTE_PORT | 48668 |
SERVER_ADDR | 172.23.177.194 |
SERVER_PORT | 80 |
SERVER_NAME | www.ebl100.com |
REDIRECT_STATUS | 200 |
PATH_INFO | /life/detail/life_id/337.html |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | www.ebl100.com |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711502.5366 |
REQUEST_TIME | 1711711502 |