CodeIgniter Forums
Error reporting - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Error reporting (/showthread.php?tid=8551)



Error reporting - El Forum - 05-22-2008

[eluser]edhrx[/eluser]
Hi,
can any one advise at to the most appropriate error level setting in a production site

Ed.


Error reporting - El Forum - 05-22-2008

[eluser]xwero[/eluser]
production site shouldn't produce any errors because they can reveal your filepath.


Error reporting - El Forum - 05-22-2008

[eluser]edhrx[/eluser]
@xwero

I can just comment out error_reporting(E_ALL ); Then ?


Error reporting - El Forum - 05-22-2008

[eluser]xwero[/eluser]
If you comment it out the default error reporting from the php.ini will take over so you have to do
Code:
error_reporting(0);