]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - script.php
[FEATURE] CI: Raise default PHP version
[jirafeau_mojo42.git] / script.php
index ab9adee2186efe371ae4f354a3c2fe581a988666..cd7cec60ad7ec74a5389b79816ce213cd1ac10ff 100644 (file)
@@ -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
 

patrick-canterino.de