瀏覽代碼

added footer.tpl

stekkel 19 年之前
父節點
當前提交
06d5b263fe
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/options.php

+ 4 - 2
src/options.php

@@ -20,7 +20,7 @@
 define('SM_PATH','../');
 
 /* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
+include_once(SM_PATH . 'include/validate.php');
 include_once(SM_PATH . 'functions/global.php');
 include_once(SM_PATH . 'functions/display_messages.php');
 include_once(SM_PATH . 'functions/imap.php');
@@ -491,4 +491,6 @@ if ($optpage == SMOPT_PAGE_MAIN) {
 </table>
 </td></tr>
 </table>
-</body></html>
+<?php
+$oTemplate->display('footer.tpl');
+?>