$res = jirafeau_upload ($_FILES['file'],\r
isset ($_POST['one_time_download']),\r
$key, $time, $_SERVER['REMOTE_ADDR'],\r
- $cfg['enable_crypt']);\r
+ $cfg['enable_crypt'], $cfg['link_name_lenght']);\r
\r
if (empty($res) || $res['error']['has_error'])\r
{\r
|| !isset ($_POST['code']))\r
echo "Error";\r
else\r
- echo jirafeau_async_end ($_POST['ref'], $_POST['code'], $cfg['enable_crypt']);\r
+ echo jirafeau_async_end ($_POST['ref'], $_POST['code'], $cfg['enable_crypt'], $cfg['link_name_lenght']);\r
}\r
/* Initialize block. */\r
elseif (isset ($_GET['init_block']) && $cfg['enable_blocks'])\r