diff options
Diffstat (limited to 'setup/config.php')
-rw-r--r-- | setup/config.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setup/config.php b/setup/config.php index 4e09780f63..aa7fea33cf 100644 --- a/setup/config.php +++ b/setup/config.php @@ -32,7 +32,7 @@ if (PMA_ifSetOr($_POST['submit_clear'], '')) { $GLOBALS['ConfigFile']->resetConfigData(); // drop post data header('HTTP/1.1 303 See Other'); - header('Location: index.php'); + header('Location: index.php' . PMA_URL_getCommon()); exit; } elseif (PMA_ifSetOr($_POST['submit_download'], '')) { // @@ -60,7 +60,7 @@ if (PMA_ifSetOr($_POST['submit_clear'], '')) { include_once $config_file_path; $GLOBALS['ConfigFile']->setConfigData($cfg); header('HTTP/1.1 303 See Other'); - header('Location: index.php'); + header('Location: index.php' . PMA_URL_getCommon()); exit; } elseif (PMA_ifSetOr($_POST['submit_delete'], '')) { // @@ -68,7 +68,7 @@ if (PMA_ifSetOr($_POST['submit_clear'], '')) { // @unlink($config_file_path); header('HTTP/1.1 303 See Other'); - header('Location: index.php'); + header('Location: index.php' . PMA_URL_getCommon()); exit; } else { // |