From a9d642da3580bb433343a35fbd94dc659d1e1467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E6=A5=BD=E5=9D=82=20=E7=99=BD?= Date: Thu, 5 Jul 2018 17:42:40 +0900 Subject: [PATCH] Translate the default jump template, close the debug mode --- application/config.php | 6 ++-- application/tpl/dispatch_jump.tpl | 49 +++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 application/tpl/dispatch_jump.tpl diff --git a/application/config.php b/application/config.php index 090e3f3..6e0eb06 100644 --- a/application/config.php +++ b/application/config.php @@ -15,7 +15,7 @@ return [ // +---------------------------------------------------------------------- // 应用调试模式 - 'app_debug' => true, + 'app_debug' => false, // 应用Trace 'app_trace' => false, // 应用模式状态 @@ -141,8 +141,8 @@ return [ // 视图输出字符串内容替换 'view_replace_str' => [], // 默认跳转页面对应的模板文件 - 'dispatch_success_tmpl' => THINK_PATH . 'tpl' . DS . 'dispatch_jump.tpl', - 'dispatch_error_tmpl' => THINK_PATH . 'tpl' . DS . 'dispatch_jump.tpl', + 'dispatch_success_tmpl' => APP_PATH . 'tpl' . DS . 'dispatch_jump.tpl', + 'dispatch_error_tmpl' => APP_PATH . 'tpl' . DS . 'dispatch_jump.tpl', // +---------------------------------------------------------------------- // | 异常及错误设置 diff --git a/application/tpl/dispatch_jump.tpl b/application/tpl/dispatch_jump.tpl new file mode 100644 index 0000000..1322f30 --- /dev/null +++ b/application/tpl/dispatch_jump.tpl @@ -0,0 +1,49 @@ +{__NOLAYOUT__} + + + + + ページジャンプ + + + +
+ + +

:)

+

+ + +

:(

+

+ + +

+

+ ページの リダイレクト あと: +

+
+ + +