/** * Redirects browser via Location header to given URL and exits. * * @param string $url Redirect URL - used in "Location" header. * @param int $status [Optional] HTTP status code to send - should be 201 a 30x. * @param boolean $exit [Optional] Whether to 'exit' after sending headers. Default true. * @return void */ function http_redirect($url, $status = 0, $exit = true) { Util::redirect($url, $status, $exit); }