I know that it would be a bad idea to completely disable errors from displaying (like by setting error_reporting(0)), but is there a way to stop system paths at the very least from showing on a live website?
I know that it would be a bad idea to completely disable errors from
Share
There is absolutely nothing wrong with having error_reporting on in your production environment, just make sure it is only showing in your logs by having
display_errorsset to off.