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; }