Same name and namespace in other branches
  1. 10 core/includes/install.inc \install_goto()
  2. 5.x includes/install.inc \install_goto()
  3. 6.x includes/install.inc \install_goto()
  4. 8.9.x core/includes/install.inc \install_goto()
  5. 9 core/includes/install.inc \install_goto()

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

File

includes/install.inc, line 1041
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();
}