Hide warnings from users better for developers to see them.

This commit is contained in:
FusionPBX
2017-02-12 11:16:08 -07:00
committed by GitHub
parent ff7f016489
commit ec7b383f42

View File

@@ -41,5 +41,5 @@
//show errors
ini_set('display_errors', '1');
//error_reporting (E_ALL); // Report everything
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); // hide notices
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ); //hide notices and warnings