diff options
author | Michal Čihař <mcihar@suse.cz> | 2011-08-04 16:25:45 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2011-08-04 16:25:45 +0400 |
commit | 1031bf2df83d0fc8e1a5790d6ff64448d4e4579b (patch) | |
tree | d700d8a2ca2139ac5ddcd77892ccd5753722adf3 /setup | |
parent | 5b568db10fa5629ac5eea30de71b9e1dcc6e7fa7 (diff) |
Use new function for download headers
Diffstat (limited to 'setup')
-rw-r--r-- | setup/config.php | 3 |
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'], '')) { |