From 68f2303068f3fb9d58def28c1411087f7a3894c5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 22 Sep 2005 00:24:23 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20R=E9soud=20probl=E8me=20syslog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/master.inc.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/htdocs/master.inc.php b/htdocs/master.inc.php index 603bcab19c6..2a0d0cda9f6 100644 --- a/htdocs/master.inc.php +++ b/htdocs/master.inc.php @@ -32,12 +32,15 @@ define('DOL_VERSION','2.0.0-alpha2'); -define_syslog_variables(); clearstatcache(); -// Forcage du paramétrage PHP -//error_reporting(E_ALL); // Dolibarr n'est pas utilisable en mode error E_ALL -error_reporting(E_ALL ^ E_NOTICE); // Dolibarr n'est pas utilisable en mode error E_ALL +// Forcage du paramétrage PHP error_reporting (Dolibarr non utilisable en mode error E_ALL) +if (function_exists("define_syslog_variables")) +{ + define_syslog_variables(); +} +//error_reporting(E_ALL); +error_reporting(E_ALL ^ E_NOTICE); // Test si install ok if (! @include_once("conf/conf.php"))