Fix: Bad declaration of error_reporting

This commit is contained in:
Laurent Destailleur 2012-04-28 18:47:54 +02:00
parent ead6b387d9
commit edb3178def

View File

@ -54,7 +54,7 @@ if (! defined('LOG_DEBUG'))
}
// Force PHP error_reporting setup (Dolibarr may report warning without this)
error_reporting(E_ALL ^ E_NOTICE ^ E_STRICT);
error_reporting(E_ALL & ~(E_STRICT|E_NOTICE));
//error_reporting(E_ALL | E_STRICT);
// End of common declaration part