Testing CVS access
[squirrelmail.git] / src / validate.php
index f0e0b99a59261b6e8ef1b0fcaf049794ba025945..83d22e32f58e9f4909cb04f0965b520b4d71d799 100644 (file)
@@ -13,6 +13,7 @@
    define ('validate_php', true); 
 
    session_start();
+   include ('../functions/i18n.php');
    include ('../functions/auth.php');
    
    is_logged_in();
    // variables overwrite any passed in variables (for security)
    include ('../functions/strings.php');
    include ('../config/config.php');
-   
+   include ('../src/load_prefs.php');
+   include ('../functions/page_header.php');
+
+   // Set up the language
+   // i18n.php was included by auth.php
+   global $username, $data_dir;
+   set_up_language(getPref($data_dir, $username, 'language'));
 ?>