X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/ba6f06965a4d9846e23d99a0e9f74b1361c18c40..cbef2b93dfeb51484956c960d58af8c4557c25f5:/index.php?ds=inline diff --git a/index.php b/index.php index af1efb4..7ee8ea2 100644 --- a/index.php +++ b/index.php @@ -55,7 +55,7 @@ if($writable && isset($_POST['jirafeau'])) { 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');