X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/9d77c0fe903db4f4ab2e3c6b5d5fc956f58c227d..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. */