I’m trying to use a custom error handling system in PHP.
I want to send a certain document in place of the one that causes the error, but I don’t want to redirect.
Pretty much, I’m trying to replicate what ErrorDocument does (But I can’t use ErrorDocument, as it’s a 500 error).