diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php index 5346643adec..2e6f0bd1f8f 100755 --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -53,8 +53,8 @@ if (! defined('LOG_DEBUG')) } } -// Forcage du parametrage PHP error_reporting (Dolibarr non utilisable en mode error E_ALL) -error_reporting(E_ALL ^ E_NOTICE); +// Force PHP error_reporting setup (Dolibarr may report warning without this) +error_reporting(E_ALL & ~(E_STRICT|E_NOTICE)); //error_reporting(E_ALL | E_STRICT);