mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-09 08:02:48 +08:00
app_init标签支持重定向和请求缓存
This commit is contained in:
@@ -79,6 +79,7 @@ class App
|
||||
{
|
||||
is_null($request) && $request = Request::instance();
|
||||
|
||||
try {
|
||||
$config = self::initCommon();
|
||||
if (defined('BIND_MODULE')) {
|
||||
// 模块/控制器绑定
|
||||
@@ -92,7 +93,6 @@ class App
|
||||
}
|
||||
|
||||
$request->filter($config['default_filter']);
|
||||
try {
|
||||
|
||||
// 开启多语言机制
|
||||
if ($config['lang_switch_on']) {
|
||||
|
||||
Reference in New Issue
Block a user