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