Fix E_WARNING in redirect: add exit after header() to prevent further output
Utils::redirect() now calls exit after sending Location header.
This stops script execution and prevents Fury framework from
attempting http_response_code() after headers have already been sent.
1 parent d6b87cd commit eca5ba2e1e768b37dcff01a5d04611f5bc3359ef
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 11 hours ago
Showing 1 changed file
View
server/SHServ/Utils.php