projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed more warnings
[squirrelmail.git]
/
src
/
download.php
diff --git
a/src/download.php
b/src/download.php
index d24b9048d5474f4610d7e7178e5994d2679da114..04d760e30d9242301633178c0ceea37587e3e882 100644
(file)
--- a/
src/download.php
+++ b/
src/download.php
@@
-11,10
+11,10
@@
** $Id$
**/
** $Id$
**/
- if (!isset($config_php))
- include("../config/config.php");
if (!isset($strings_php))
include("../functions/strings.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))
if (!isset($imap_php))
include("../functions/imap.php");
if (!isset($mime_php))
@@
-110,7
+110,7
@@
header("Pragma: ");
header("Content-Description: SquirrelMail Attachment");
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);
switch($type0) {
case "text":
$body = mime_fetch_body($imapConnection, $passed_id, $passed_ent_id);