install_goto($path)
Sends the user to a different installer page.
This issues an on-site HTTP redirect. Messages (and errors) are erased.
$path: An installer path.
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(); }
© 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/core!includes!install.inc/function/install_goto/8.1.x