mirror of
https://github.com/nokonoko/Uguu.git
synced 2024-01-06 13:35:15 +00:00
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