Comment
This commit is contained in:
parent
5b37189266
commit
9cfb011286
@ -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+");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user