diff options
author | David M <davidmj@users.sourceforge.net> | 2006-08-17 04:27:38 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-08-17 04:27:38 +0000 |
commit | 6294974d863fc7220b55b8fc7ab72a2bb399157c (patch) | |
tree | e932029230a4a6738302bfa405041c69aff8a333 | |
parent | cfc23dd56220025d6cfcff6d393b97843ad44d02 (diff) | |
download | forums-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.php | 12 |
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; } |