function install_goto

7.x install.inc install_goto($path)
5.x install.inc install_goto($path)
6.x install.inc install_goto($path)
8.x install.inc install_goto($path)

Sends the user to a different installer page.

This issues an on-site HTTP redirect. Messages (and errors) are erased.

Parameters

$path: An installer path.

3 calls to install_goto()
install_drupal in drupal/includes/install.core.inc
Installs Drupal either interactively or via an array of passed-in settings.
update.php in drupal/update.php
Administrative page for handling updates from one Drupal version to another.
_drupal_bootstrap_database in drupal/includes/bootstrap.inc
Initializes the database system and registers autoload functions.
1 string reference to 'install_goto'
drupal_redirect_form in drupal/includes/form.inc
Redirects the user to a URL after a form has been processed.

File

drupal/includes/install.inc, line 1035
API functions for installing modules and themes.

Code

function install_goto($path) {
  global $base_url;
  include_once DRUPAL_ROOT . '/includes/common.inc';
  header('Location: ' . $base_url . '/' . $path);
  header('Cache-Control: no-cache'); // Not a permanent redirect.
  drupal_exit();
}