浏览代码

Call the new function displayErrors() to display errors rather than refering to $this.

stevetruckstuff 19 年之前
父节点
当前提交
f3da17d5f6
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      templates/default/footer.tpl

+ 3 - 1
templates/default/footer.tpl

@@ -13,10 +13,12 @@
  */
 
 /** add required includes */
+include_once(SM_PATH . 'templates/util_global.php');
 
 /* retrieve the template vars */
 extract($t);
-$this->display('error_message.tpl');
+
+displayErrors();
 ?>
 <!-- end of generated html -->
 </body>