$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 | hpkd.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | /qywh.html |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.hpkd.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.27.120.72 |
REMOTE_PORT | 51648 |
REMOTE_ADDR | 34.229.50.161 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.hpkd.com |
DOCUMENT_URI | /index.php |
REQUEST_URI | /qywh.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/qywh.html |
SCRIPT_FILENAME | /www/wwwroot/www.hpkd.com/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711660448.314 |
REQUEST_TIME | 1711660448 |
EXTEND_PATH | extend/ |