X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/a9ab012f12e417222a082bbb80515c781601e7a2..3a340f76892c45395131a248205fbfb334aa846f:/script.php diff --git a/script.php b/script.php index 791e950..cd7cec6 100644 --- a/script.php +++ b/script.php @@ -1,7 +1,7 @@ + * Copyright (C) 2015 Jerome Jutteau * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -198,7 +198,6 @@ if (isset($_FILES['file']) && is_writable(VAR_FILES) $r = fopen(VAR_FILES . $p . $link['hash'], 'r'); while (!feof($r)) { print fread($r, 1024); - ob_flush(); } fclose($r); @@ -301,7 +300,7 @@ if [ -n "$one_time" ]; then options="$options -F one_time_download=1" fi -f [ -n "$upload_password" ]; then +if [ -n "$upload_password" ]; then options="$options -F upload_password=$upload_password" fi