How to supress notices from php
Posted: Mon Jun 28, 2010 7:07 pm
Edit php.ini and find error_reporting. Set it as below.
This will suppress all warnings & notices like "Notice: Use of undefined constant...."
Code: Select all
error_reporting = E_ERROR