X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/78a1c41c40bb216e3879220fc544f8ae816d3c1b..092766a37489a5e38285c256f387af2bba7c5e95:/lib/functions.php?ds=inline diff --git a/lib/functions.php b/lib/functions.php index 5c5fea7..5f43066 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -1013,7 +1013,7 @@ function jirafeau_async_end($ref, $code, $crypt, $link_name_length, $file_hash_m $l = s2p("$hash_link"); if (!@mkdir(VAR_LINKS . $l, 0755, true) || !rename($link_tmp_name, VAR_LINKS . $l . $hash_link)) { - echo "Error"; + return 'Error'; } /* Clean async upload. */