1.15.x install.inc install_goto($path)
1.12.x install.inc install_goto($path)
1.14.x install.inc install_goto($path)
1.10.x install.inc install_goto($path)
1.11.x install.inc install_goto($path)
1.13.x install.inc install_goto($path)
1.7.x install.inc install_goto($path)
1.8.x install.inc install_goto($path)
1.9.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.

File

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

Code

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