From b2e8d6ba5ed93109d0de22ba7ab573500d26d447 Mon Sep 17 00:00:00 2001 From: JaguarJack <82664165@qq.com> Date: Mon, 21 Jan 2019 15:53:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/app.php b/config/app.php index 11dfc17..f87caf9 100644 --- a/config/app.php +++ b/config/app.php @@ -130,8 +130,8 @@ return [ 'route_cache_option' => [], // 默认跳转页面对应的模板文件 - 'dispatch_success_tmpl' => Env::get('think_path') . 'tpl/dispatch_jump.tpl', - 'dispatch_error_tmpl' => Env::get('think_path') . 'tpl/dispatch_jump.tpl', + 'dispatch_success_tmpl' => Env::get('root_path') . 'views' . DIRECTORY_SEPARATOR . 'admin/message.html',//Env::get('think_path') . 'tpl/dispatch_jump.tpl', + 'dispatch_error_tmpl' => Env::get('root_path') . 'views' . DIRECTORY_SEPARATOR . 'admin/message.html',//Env::get('think_path') . 'tpl/dispatch_jump.tpl', // 异常页面的模板文件 'exception_tmpl' => Env::get('think_path') . 'tpl/think_exception.tpl',