From 4e2292a92e4cc78b61889b8abf28eb26a845db43 Mon Sep 17 00:00:00 2001 From: nokonoko Date: Sun, 2 May 2021 14:48:30 +0200 Subject: [PATCH] ip logging --- static/php/upload.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/php/upload.php b/static/php/upload.php index 1be73db..02c83e6 100644 --- a/static/php/upload.php +++ b/static/php/upload.php @@ -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(