forked from gitbot/uguu
ip logging
This commit is contained in:
parent
8fa0750dd7
commit
4e2292a92e
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user