diff options
-rw-r--r-- | mirror.php | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -74,14 +74,6 @@ } } if (! file_exists($pfad)) { - $size = shell_exec( - "curl -ILs -A 'Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0' '".$quelle."' " . - "| sed '" . - "s/^Content-Length: //;t;d" . - "'" - ); - if (! empty($size)) - header('Content-Length: ' . $size); passthru( "mkdir -p '".dirname($pfad)."'; ". "( ". |