function 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.

4 calls to install_goto()
install_download_translation in drupal/core/includes/install.core.inc
Download a translation file for the selected langaguage.
install_drupal in drupal/core/includes/install.core.inc
Installs Drupal either interactively or via an array of passed-in settings.
update.php in drupal/core/update.php
Administrative page for handling updates from one Drupal version to another.
_drupal_bootstrap_configuration in drupal/core/includes/bootstrap.inc
Sets up the script environment and loads settings.php.
1 string reference to 'install_goto'
drupal_redirect_form in drupal/core/includes/form.inc
Redirects the user to a URL after a form has been processed.

File

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

Code

function install_goto($path) {
  global $base_url;
  $headers = array(
    // Not a permanent redirect.
    'Cache-Control' => 'no-cache',
  );
  $response = new RedirectResponse($base_url . '/' . $path, 302, $headers);
  $response
    ->send();
}