require_once('../functions/prefs.php'); was needed to use getPref
authorcentaurix <centaurix@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 29 Sep 2001 07:57:29 +0000 (07:57 +0000)
committercentaurix <centaurix@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 29 Sep 2001 07:57:29 +0000 (07:57 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1534 7612ce4b-ef26-0410-bec9-ea0150e637f0

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('../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'));
 
    // 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
+?>