Updates to nl_NL from M.J. Prinsen
[squirrelmail.git] / src / validate.php
index 6f70b4378148d1392194a27956fda3129030dc95..2d6fc3d511ab2ef9168412e0842905326a71a2fb 100644 (file)
@@ -9,9 +9,6 @@
 * $Id$
 */
 
-global $username, $attachment_dir;
-
-session_save_path( getHashedDir($username, $attachment_dir) );
 session_start();
 
 require_once('../functions/i18n.php');
@@ -24,10 +21,10 @@ is_logged_in();
 if (get_magic_quotes_gpc()) {
     global $REQUEST_METHOD;
 
-    if ($REQUEST_METHOD == "POST") {
+    if ($REQUEST_METHOD == 'POST') {
         global $HTTP_POST_VARS;
         RemoveSlashes($HTTP_POST_VARS);
-    } else if ($REQUEST_METHOD == "GET") {
+    } else if ($REQUEST_METHOD == 'GET') {
         global $HTTP_GET_VARS;
         RemoveSlashes($HTTP_GET_VARS);
     }
@@ -46,7 +43,7 @@ global $send, $PHP_SELF;
 if (isset($send)
     && (substr($send, 0, 1) == "\n")
     && (substr($PHP_SELF, -12) == '/compose.php')) {
-    if ($REQUEST_METHOD == "POST") {
+    if ($REQUEST_METHOD == 'POST') {
         global $HTTP_POST_VARS;
         TrimArray($HTTP_POST_VARS);
     } else {
@@ -72,4 +69,5 @@ require_once('../functions/prefs.php');
 /* Set up the language (i18n.php was included by auth.php). */
 global $username, $data_dir;
 set_up_language(getPref($data_dir, $username, 'language'));
-?>
+
+?>
\ No newline at end of file