Bläddra i källkod

fixed "cannot redeclare getPref()" error

Luke Ehresman 24 år sedan
förälder
incheckning
aa43341393
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/download.php

+ 1 - 1
src/download.php

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