This commit is contained in:
Laurent Destailleur
2010-04-26 23:01:19 +00:00
parent 5b37189266
commit 9cfb011286

View File

@@ -261,7 +261,7 @@ function dol_syslog($message, $level=LOG_INFO)
{ {
$filelog=SYSLOG_FILE; $filelog=SYSLOG_FILE;
$filelog=preg_replace('/DOL_DATA_ROOT/i',DOL_DATA_ROOT,$filelog); $filelog=preg_replace('/DOL_DATA_ROOT/i',DOL_DATA_ROOT,$filelog);
//print $filelog; //print "filelog=".$filelog."\n";
if (defined("SYSLOG_FILE_NO_ERROR")) $file=@fopen($filelog,"a+"); if (defined("SYSLOG_FILE_NO_ERROR")) $file=@fopen($filelog,"a+");
else $file=fopen($filelog,"a+"); else $file=fopen($filelog,"a+");