Hide warnings from users better for developers to see them.
This commit is contained in:
parent
ff7f016489
commit
ec7b383f42
|
|
@ -41,5 +41,5 @@
|
||||||
//show errors
|
//show errors
|
||||||
ini_set('display_errors', '1');
|
ini_set('display_errors', '1');
|
||||||
//error_reporting (E_ALL); // Report everything
|
//error_reporting (E_ALL); // Report everything
|
||||||
error_reporting (E_ALL ^ E_NOTICE); // hide notices
|
//error_reporting (E_ALL ^ E_NOTICE); // hide notices
|
||||||
//error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ); //hide notices and warnings
|
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ); //hide notices and warnings
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue