$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 |
HTTP_ACCEPT | */* |
HTTP_HOST | www.wwqxf.cn |
PATH_INFO | /books/49665883.html |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.wwqxf.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.17.120.223 |
REMOTE_PORT | 53355 |
REMOTE_ADDR | 182.120.85.12 |
SERVER_SOFTWARE | nginx/1.17.10 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.wwqxf.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /books/49665883.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/books/49665883.html |
SCRIPT_FILENAME | /www/wwwroot/www.wwqxf.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1716011434.1268 |
REQUEST_TIME | 1716011434 |
THINK_VERSION | 5.0.24 |
THINK_START_TIME | 1716011434.1286 |
THINK_START_MEM | 387408 |
EXT | .php |
DS | / |
THINK_PATH | /www/wwwroot/www.wwqxf.com/thinkphp/ |
LIB_PATH | /www/wwwroot/www.wwqxf.com/thinkphp/library/ |
CORE_PATH | /www/wwwroot/www.wwqxf.com/thinkphp/library/think/ |
TRAIT_PATH | /www/wwwroot/www.wwqxf.com/thinkphp/library/traits/ |
APP_PATH | /www/wwwroot/www.wwqxf.com/public/ |
ROOT_PATH | /www/wwwroot/www.wwqxf.com/application/ |
EXTEND_PATH | /www/wwwroot/www.wwqxf.com/application/extend/ |
VENDOR_PATH | /www/wwwroot/www.wwqxf.com/application/vendor/ |
RUNTIME_PATH | /www/wwwroot/www.wwqxf.com/application/runtime/ |
LOG_PATH | /www/wwwroot/www.wwqxf.com/application/runtime/log/ |
CACHE_PATH | /www/wwwroot/www.wwqxf.com/application/runtime/cache/ |
TEMP_PATH | /www/wwwroot/www.wwqxf.com/application/runtime/temp/ |
CONF_PATH | /www/wwwroot/www.wwqxf.com/public/ |
CONF_EXT | .php |
ENV_PREFIX | PHP_ |