Part 3
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 18 Jan 2002 09:22:03 +0000 (09:22 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 18 Jan 2002 09:22:03 +0000 (09:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2156 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/validate.php

index 2757340..f246954 100644 (file)
@@ -9,9 +9,9 @@
 * $Id$
 */
 
-global $username, $attachment_dir;
-
+require_once('../config/config.php');
 require_once('../functions/prefs.php');
+global $username, $attachment_dir;
 
 session_save_path( getHashedDir($username, $attachment_dir) );
 session_start();
@@ -66,7 +66,6 @@ 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');