Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2011-08-04 16:25:45 +0400
committerMichal Čihař <mcihar@suse.cz>2011-08-04 16:25:45 +0400
commit1031bf2df83d0fc8e1a5790d6ff64448d4e4579b (patch)
treed700d8a2ca2139ac5ddcd77892ccd5753722adf3 /setup
parent5b568db10fa5629ac5eea30de71b9e1dcc6e7fa7 (diff)
Use new function for download headers
Diffstat (limited to 'setup')
-rw-r--r--setup/config.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup/config.php b/setup/config.php
index 5333cb0f83..b90d24cda9 100644
--- a/setup/config.php
+++ b/setup/config.php
@@ -38,8 +38,7 @@ if (PMA_ifSetOr($_POST['submit_clear'], '')) {
//
// Output generated config file
//
- header('Content-Type: text/plain');
- header('Content-Disposition: attachment; filename="config.inc.php"');
+ PMA_download_header('config.inc.php', 'text/plain');
echo ConfigGenerator::getConfigFile();
exit;
} elseif (PMA_ifSetOr($_POST['submit_save'], '')) {