fixed "cannot redeclare getPref()" error
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 17 Jan 2001 04:41:31 +0000 (04:41 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 17 Jan 2001 04:41:31 +0000 (04:41 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@953 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/download.php

index c3608fa3401fadab88db54ad288c52710d7b4c35..17fe7f2b0f3fb93615934ce5ed162d57a841ba58 100644 (file)
    if (!isset($i18n_php))
       include("../functions/i18n.php");
 
    if (!isset($i18n_php))
       include("../functions/i18n.php");
 
+   include("../src/load_prefs.php");
 
    function viewText($color, $body, $id, $entid, $mailbox, $type1, $wrap_at) {
       global $where, $what, $charset;
       global $startMessage;
       
 
    function viewText($color, $body, $id, $entid, $mailbox, $type1, $wrap_at) {
       global $where, $what, $charset;
       global $startMessage;
       
-      include("../src/load_prefs.php");
       displayPageHeader($color, "None");
 
       echo "<BR><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=2 ALIGN=CENTER><TR><TD BGCOLOR=\"$color[0]\">";
       displayPageHeader($color, "None");
 
       echo "<BR><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=2 ALIGN=CENTER><TR><TD BGCOLOR=\"$color[0]\">";