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
- core/includes/install.inc, line 846
- API functions for installing modules and themes.
Code
1 2 3 4 5 6 7 8 9 | 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(); } |
Please login to continue.