ip logging
This commit is contained in:
parent
8fa0750dd7
commit
4e2292a92e
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue