function install_goto
7.x install.inc | install_goto($path) |
6.x install.inc | install_goto($path) |
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.
4 calls to install_goto()
- db_set_active in drupal-6.x/
includes/ database.inc - Activate a database for future queries.
- install_main in drupal-6.x/
install.php - The Drupal installation happens in a series of steps. We begin by verifying that the current environment meets our minimum requirements. We then go on to verify that settings.php is properly configured. From there we connect to the configured database…
- install_settings_form_submit in drupal-6.x/
install.php - Form API submit for install_settings form.
- update.php in drupal-6.x/
update.php - Administrative page for handling updates from one Drupal version to another.
File
- drupal-6.x/
includes/ install.inc, line 615
Code
function install_goto($path) {
global $base_url;
header('Location: ' . $base_url . '/' . $path);
header('Cache-Control: no-cache'); // Not a permanent redirect.
exit();
}