浏览代码

Test over

philippe_mingo 23 年之前
父节点
当前提交
aedbd3ce9d
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      src/validate.php

+ 1 - 5
src/validate.php

@@ -9,11 +9,6 @@
 * $Id$
 */
 
-require_once('../config/config.php');
-require_once('../functions/prefs.php');
-global $username, $attachment_dir;
-
-session_save_path( getHashedDir($username, $attachment_dir) );
 session_start();
 
 require_once('../functions/i18n.php');
@@ -66,6 +61,7 @@ if (isset($send)
 * Include them down here instead of at the top so that all config
 * variables overwrite any passed in variables (for security).
 */
+require_once('../config/config.php');
 require_once('../src/load_prefs.php');
 require_once('../functions/page_header.php');
 require_once('../functions/prefs.php');