소스 검색

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>