$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 . '/' : ''));
PHPSESSID | ndccpacnd2dk566ns559n775ar |
USER | www |
HOME | /home/www |
HTTP_COOKIE | PHPSESSID=ndccpacnd2dk566ns559n775ar |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.ht-semi.com |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
PATH_INFO | /tel:0755-86353096 |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.ht-semi.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.16.0.11 |
REMOTE_PORT | 38840 |
REMOTE_ADDR | 107.158.144.210 |
SERVER_SOFTWARE | nginx/1.20.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.ht-semi.com |
DOCUMENT_URI | /index.php |
REQUEST_URI | /tel:0755-86353096 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/tel:0755-86353096 |
SCRIPT_FILENAME | /www/wwwroot/www.ht-semi.com/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1694220004.3733 |
REQUEST_TIME | 1694220004 |
APP_PATH | /www/wwwroot/www.ht-semi.com/app/ |