Skip to content

Commit

Permalink
fetch_web_data should be able to hand https as well
Browse files Browse the repository at this point in the history
Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Dec 22, 2013
1 parent 63cad8d commit 35cfaa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/subs/Package.subs.php
Expand Up @@ -33,7 +33,7 @@
*/
function read_tgz_file($gzfilename, $destination, $single_file = false, $overwrite = false, $files_to_extract = null)
{
if (substr($gzfilename, 0, 7) == 'http://')
if (substr($gzfilename, 0, 7) == 'http://' || substr($gzfilename, 0, 8) == 'https://')
{
$data = fetch_web_data($gzfilename);

Expand Down

0 comments on commit 35cfaa8

Please sign in to comment.