Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check headers sent before sending PHP response
If the response contents has been sent before an error occurs, PHP triggers the warning "Cannot modify header information - headers already sent" This change ensure that the error message is echoed, while it's impossible to change the HTTP status code and headers.
- Loading branch information