somehow when using require() or require_once() and an error occurs the error does not get logged inside a file which I have defined in the error_log() function.
when using include() or include_once() functions, everything works ok. Is there a work around about this???? I've just coded a whole site where I've used require_once and include_once alot, include_once used when conditional include is required. I want to log all possible errors.
TIA