summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mirror.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirror.php b/mirror.php
index 9c9a052..55f18e8 100644
--- a/mirror.php
+++ b/mirror.php
@@ -70,6 +70,7 @@
passthru(
"mkdir -p '".dirname($pfad)."'; ".
"( ".
+ "curl -Ls '".$quelle."' || ".
"curl -Ls -A 'Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0' '".$quelle."' || ".
"wget -O - '".$quelle."'; ".
") | ". // oder curl!