Browse Source

优化报错页面

Karson 3 years ago
parent
commit
0c7a4850a2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      application/common/view/tpl/think_exception.tpl

+ 3 - 3
application/common/view/tpl/think_exception.tpl

@@ -6,9 +6,9 @@ $debug = function_exists('config') ? config('app_debug') : false;
 $lang = [
     'An error occurred' => '发生错误',
     'Home' => '返回主页',
-    'Feedback' => '反馈错误',
+    'Previous Page' => '返回上一页',
     'The page you are looking for is temporarily unavailable' => '你所浏览的页面暂时无法访问',
-    'You can return to the previous page and try again' => '你可以返回上一页重试,或直接向我们反馈错误报告'
+    'You can return to the previous page and try again' => '你可以返回上一页重试'
 ];
 
 $langSet = '';
@@ -94,7 +94,7 @@ $langSet == 'en' && $lang = array_combine(array_keys($lang), array_keys($lang));
     </div>
     <div class="buttons-container">
         <a href="<?=$publicurl?>"><?=$lang['Home']?></a>
-        <a href="<?=$publicurl?>"><?=$lang['Feedback']?></a>
+        <a href="javascript:" onclick="history.go(-1)"><?=$lang['Previous Page']?></a>
     </div>
 </div>
 </body>