aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_install.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/install_install.php')
-rwxr-xr-xphpBB/install/install_install.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index 780301d547..9e0a3cc002 100755
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -537,8 +537,7 @@ class install_install extends module
{
// Someone's been silly and tried calling this page direct
// So we send them back to the start to do it again properly
- header('Location: index.' . $phpEx . '?mode=install');
- exit;
+ $this->p_master->redirect("index?mode=install");
}
$s_hidden_fields = ($img_imagick) ? '<input type="hidden" name="img_imagick" value="' . addslashes($img_imagick) . '" />' : '';
@@ -696,8 +695,7 @@ class install_install extends module
{
// Someone's been silly and tried calling this page direct
// So we send them back to the start to do it again properly
- header('Location: index.' . $phpEx . '?mode=install');
- exit;
+ $this->p_master->redirect("index?mode=install");
}
$s_hidden_fields = ($img_imagick) ? '<input type="hidden" name="img_imagick" value="' . addslashes($img_imagick) . '" />' : '';
@@ -841,8 +839,7 @@ class install_install extends module
{
// Someone's been silly and tried calling this page direct
// So we send them back to the start to do it again properly
- header('Location: index.' . $phpEx . '?mode=install');
- exit;
+ $this->p_master->redirect("index?mode=install");
}
$s_hidden_fields = ($img_imagick) ? '<input type="hidden" name="img_imagick" value="' . addslashes($img_imagick) . '" />' : '';
@@ -925,8 +922,7 @@ class install_install extends module
{
// Someone's been silly and tried calling this page direct
// So we send them back to the start to do it again properly
- header('Location: index.' . $phpEx . '?mode=install');
- exit;
+ $this->p_master->redirect("index?mode=install");
}
$cookie_domain = ($server_name != '') ? $server_name : (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME');