Fix: Résoud problème syslog

This commit is contained in:
Laurent Destailleur 2005-09-22 00:24:23 +00:00
parent 21a6c0b79c
commit 68f2303068

View File

@ -32,12 +32,15 @@
define('DOL_VERSION','2.0.0-alpha2'); define('DOL_VERSION','2.0.0-alpha2');
define_syslog_variables();
clearstatcache(); clearstatcache();
// Forcage du paramétrage PHP // Forcage du paramétrage PHP error_reporting (Dolibarr non utilisable en mode error E_ALL)
//error_reporting(E_ALL); // Dolibarr n'est pas utilisable en mode error E_ALL if (function_exists("define_syslog_variables"))
error_reporting(E_ALL ^ E_NOTICE); // Dolibarr n'est pas utilisable en mode error E_ALL {
define_syslog_variables();
}
//error_reporting(E_ALL);
error_reporting(E_ALL ^ E_NOTICE);
// Test si install ok // Test si install ok
if (! @include_once("conf/conf.php")) if (! @include_once("conf/conf.php"))