Is there something I can put in the php.ini file to avoid having to put error_reporting(0) at the top of each .php file?
error_reporting(0) needed for each php file - how to get around this?
Yes, but instead of doing that, set display_errors to Off.
laserlight;11010021 wrote:Yes, but instead of doing that, set display_errors to Off.
Well, the strange thing is it's already set that way. And I verified with phpinfo() that the correct php.ini is in use.
;
; Default
;
display_errors = Off
So... what's the problem?