X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/78a1c41c40bb216e3879220fc544f8ae816d3c1b..c3c7c86917d4c01c0cb2188dba77e4119788e81f:/script.php diff --git a/script.php b/script.php index ab9adee..cd7cec6 100644 --- a/script.php +++ b/script.php @@ -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