$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 | m.xinsheng100.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | //members_login.html |
REDIRECT_STATUS | 200 |
SERVER_NAME | m.xinsheng100.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.24.234.238 |
REMOTE_PORT | 36370 |
REMOTE_ADDR | 107.23.85.179 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /mnt/wwwroot/m.xinsheng100.com |
DOCUMENT_URI | /index.php |
REQUEST_URI | /members_login.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//members_login.html |
SCRIPT_FILENAME | /mnt/wwwroot/m.xinsheng100.com/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1710814792.631 |
REQUEST_TIME | 1710814792 |
APP_PATH | /mnt/wwwroot/m.xinsheng100.com/application/ |
ADMIN_TPL | /application/admin/view |
INDEX_TPL | /application/index/view |
default_module | index |