require_once('../functions/prefs.php'); was needed to use getPref
[squirrelmail.git] / src / validate.php
index 2ee592b..96e2dcf 100644 (file)
    require_once('../config/config.php');
    require_once('../src/load_prefs.php');
    require_once('../functions/page_header.php');
+   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
+?>