diff options
author | Yaco <franco@reevo.org> | 2019-02-02 12:24:48 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2019-02-02 12:24:48 -0300 |
commit | 8a226f8d59657734fd710128542d25204693e4d6 (patch) | |
tree | 64a07bab8025be342487f12fbd707863ea586f9f /bin | |
parent | 4d02a17d20c6369c2dacffbe89302aaca4eeed54 (diff) |
hace que curl siga las redirecciones de https
Diffstat (limited to 'bin')
-rw-r--r-- | bin/wiki/GeneraSnapshot.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/wiki/GeneraSnapshot.php b/bin/wiki/GeneraSnapshot.php index b92764ce..e1c0f485 100644 --- a/bin/wiki/GeneraSnapshot.php +++ b/bin/wiki/GeneraSnapshot.php @@ -52,7 +52,7 @@ function GeneraSnapshot($pagetitle, $services) { return; } // Obtiene copia de texto del articulo - $command = 'curl -s ' . $url . ' | unfluff | jq -r .text > /tmp/linkcontent'; + $command = 'curl -Ls ' . $url . ' | unfluff | jq -r .text > /tmp/linkcontent'; // echo "$command\n"; exec($command); |