$this->app['lang']->load($this->app->getAppPath() . $module . DIRECTORY_SEPARATOR . 'lang' . DIRECTORY_SEPARATOR . $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 . DIRECTORY_SEPARATOR : ''));
USER | www |
HOME | /home/www |
HTTP_HOST | www.lwfish.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | //news/n313.html |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.lwfish.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.26.141.79 |
REMOTE_PORT | 52426 |
REMOTE_ADDR | 3.81.30.41 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/base/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /news/n313.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//news/n313.html |
SCRIPT_FILENAME | /www/wwwroot/base/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711635578.2036 |
REQUEST_TIME | 1711635578 |
DS | / |
QINIU_FUNCTIONS_VERSION | 7.3.0 |
EXTEND_PATH | /www/wwwroot/base/public/../extend/ |
VENDOR_PATH | /www/wwwroot/base/public/../vendor/ |
ROOT_PATH | /www/wwwroot/base/public/.. |