aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-08-17 04:27:38 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-08-17 04:27:38 +0000
commit6294974d863fc7220b55b8fc7ab72a2bb399157c (patch)
treee932029230a4a6738302bfa405041c69aff8a333
parentcfc23dd56220025d6cfcff6d393b97843ad44d02 (diff)
downloadforums-6294974d863fc7220b55b8fc7ab72a2bb399157c.tar
forums-6294974d863fc7220b55b8fc7ab72a2bb399157c.tar.gz
forums-6294974d863fc7220b55b8fc7ab72a2bb399157c.tar.bz2
forums-6294974d863fc7220b55b8fc7ab72a2bb399157c.tar.xz
forums-6294974d863fc7220b55b8fc7ab72a2bb399157c.zip
forgot to remove some debug code :P
git-svn-id: file:///svn/phpbb/trunk@6297 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/acp/acp_database.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php
index da6d375292..4a5382b67a 100644
--- a/phpBB/includes/acp/acp_database.php
+++ b/phpBB/includes/acp/acp_database.php
@@ -120,9 +120,9 @@ class acp_database
if ($download == true)
{
$name = $filename . $ext;
- //header('Pragma: no-cache');
- //header("Content-Type: $mimetype; name=\"$name\"");
- //header("Content-disposition: attachment; filename=$name");
+ header('Pragma: no-cache');
+ header("Content-Type: $mimetype; name=\"$name\"");
+ header("Content-disposition: attachment; filename=$name");
}
// All of the generated queries go here
@@ -1234,9 +1234,9 @@ class acp_database
break;
}
- //header('Pragma: no-cache');
- //header("Content-Type: $mimetype; name=\"$name\"");
- //header("Content-disposition: attachment; filename=$name");
+ header('Pragma: no-cache');
+ header("Content-Type: $mimetype; name=\"$name\"");
+ header("Content-disposition: attachment; filename=$name");
echo $data;
die;
}