Fix: Bad declaration of error_reporting

Conflicts:
	htdocs/filefunc.inc.php
This commit is contained in:
Laurent Destailleur 2012-04-28 18:52:05 +02:00
parent 6b9717b250
commit 450ccf31a7

View File

@ -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);