Correction patch métriques

This commit is contained in:
Adrien Bourmault 2023-03-28 11:41:32 +02:00 committed by root
parent 2cf2c21ab2
commit 3e04b3132d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}