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 27573401535d489b991b940fbf90e3180a75e405..f246954a0d735a23ef10c524ae8a692fb5ce645f 100644 (file)
@@ -9,9 +9,9 @@
 * $Id$
 */
 
 * $Id$
 */
 
-global $username, $attachment_dir;
-
+require_once('../config/config.php');
 require_once('../functions/prefs.php');
 require_once('../functions/prefs.php');
+global $username, $attachment_dir;
 
 session_save_path( getHashedDir($username, $attachment_dir) );
 session_start();
 
 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).
 */
 * 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');
 require_once('../src/load_prefs.php');
 require_once('../functions/page_header.php');
 require_once('../functions/prefs.php');