fixed more warnings
[squirrelmail.git] / src / download.php
index d24b9048d5474f4610d7e7178e5994d2679da114..04d760e30d9242301633178c0ceea37587e3e882 100644 (file)
     **  $Id$
     **/
 
-   if (!isset($config_php))
-      include("../config/config.php");
    if (!isset($strings_php))
       include("../functions/strings.php");
+   if (!isset($config_php))
+      include("../config/config.php");
    if (!isset($imap_php))
       include("../functions/imap.php");
    if (!isset($mime_php))
 
    header("Pragma: ");
    header("Content-Description: SquirrelMail Attachment");
-   if ($absolute_dl == "true") {
+   if (isset($absolute_dl) && $absolute_dl == "true") {
       switch($type0) {
          case "text":
             $body = mime_fetch_body($imapConnection, $passed_id, $passed_ent_id);