$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);
exit;
}
} else {
// 单一模块部署
$module = '';
$this->app['request']->module($module);
}
// 当前模块路径
/sitemap_xml |
PHPSESSID | s5vun8kmg73g281mrm5vlkesku |
REDIRECT_STATUS | 200 |
HTTP_HOST | huanbao1hao.com |
HTTP_ACCEPT | */* |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_COOKIE | PHPSESSID=s5vun8kmg73g281mrm5vlkesku |
PATH | C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps |
SystemRoot | C:\Windows |
COMSPEC | C:\Windows\system32\cmd.exe |
PATHEXT | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC |
WINDIR | C:\Windows |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/7.4.28 |
SERVER_NAME | huanbao1hao.com |
SERVER_ADDR | 172.30.79.100 |
SERVER_PORT | 80 |
REMOTE_ADDR | 104.140.79.98 |
DOCUMENT_ROOT | D:/wwwRoot/xthuanbao |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | D:/wwwRoot/xthuanbao |
SERVER_ADMIN | admin@example.com |
SCRIPT_FILENAME | D:/wwwRoot/xthuanbao/index.php |
REMOTE_PORT | 38290 |
REDIRECT_URL | /sitemap.xml |
REDIRECT_QUERY_STRING | /sitemap.xml |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | /sitemap.xml |
REQUEST_URI | /sitemap.xml |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1745869039.827 |
REQUEST_TIME | 1745869039 |
PATH_INFO | /sitemap.xml |
APP_PATH | D:\wwwRoot\xthuanbao/application/ |