Correction patch métriques
This commit is contained in:
parent
2cf2c21ab2
commit
3e04b3132d
|
@ -377,7 +377,7 @@ class Filesystem extends AbstractData
|
|||
{
|
||||
$today = date('Y-m-d H:i:s');
|
||||
$line="$today $message \t$id\n";
|
||||
$dir= '/var/www/paste.libre-service.eu/data';
|
||||
$dir= '/var/www/PrivateBin/data/';
|
||||
return (bool) file_put_contents("$dir/metrics.log",$line,FILE_APPEND|LOCK_EX);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue