ip logging

This commit is contained in:
nokonoko 2021-05-02 14:48:30 +02:00
parent 8fa0750dd7
commit 4e2292a92e
1 changed files with 0 additions and 2 deletions

View File

@ -153,9 +153,7 @@ function uploadFile($file)
$q->bindValue(':name', $newname, PDO::PARAM_STR);
$q->bindValue(':size', $file->size, PDO::PARAM_INT);
$q->bindValue(':date', time(), PDO::PARAM_INT);
if(LOG_IP == 'yes'){
$q->bindValue(':ip', $ip, PDO::PARAM_STR);
}
$q->execute();
return array(