mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 10:08:27 +01:00
Comment
This commit is contained in:
@@ -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+");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user