install_goto
function install_goto
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 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(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!install.inc/function/install_goto/7.x