Same name and namespace in other branches
- 10 core/includes/install.inc \install_goto()
- 6.x includes/install.inc \install_goto()
- 7.x includes/install.inc \install_goto()
- 8.9.x core/includes/install.inc \install_goto()
- 9 core/includes/install.inc \install_goto()
Send the user to a different installer page. This issues an on-site HTTP redirect. Messages (and errors) are erased.
Parameters
$path: An installer path.
2 calls to install_goto()
- db_connect in includes/
database.mysql.inc - Initialize a database connection.
- install_settings_form_submit in ./
install.php - Form API submit for install_settings form.
File
- includes/
install.inc, line 571
Code
function install_goto($path) {
global $base_url;
header('Location: ' . $base_url . '/' . $path);
header('Cache-Control: no-cache');
// Not a permanent redirect.
exit;
}