]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - index.php
Add uploader's ip in link file
[jirafeau_mojo42.git] / index.php
index af1efb41838724b6a09dc2a14b2f8bff101e0100..7ee8ea29ec4b00e5760eaf0fd5a759526aa2867f 100644 (file)
--- a/index.php
+++ b/index.php
@@ -55,7 +55,7 @@ if($writable && isset($_POST['jirafeau'])) {
     break;
   }
 
     break;
   }
 
-  $res = jirafeau_upload($_FILES['file'], isset($_POST['one_time_download']), $key, $time, $cfg);
+  $res = jirafeau_upload($_FILES['file'], isset($_POST['one_time_download']), $key, $time, $cfg, $_SERVER['REMOTE_ADDR']);
 }
 
 require(JIRAFEAU_ROOT . 'lib/template/header.php');
 }
 
 require(JIRAFEAU_ROOT . 'lib/template/header.php');

patrick-canterino.de