Fix http into https

This commit is contained in:
Laurent Destailleur 2016-09-06 00:59:31 +02:00
parent e07f65721a
commit 666c62af04

View File

@ -59,7 +59,7 @@ class GoogleAPI
$i=0;
// Desired address
$urladdress = "http://maps.google.com/maps/geo?q=".urlencode($address)."&output=xml&key=".$this->key;
$urladdress = "https://maps.google.com/maps/geo?q=".urlencode($address)."&output=xml&key=".$this->key;
// Retrieve the URL contents
$page = file_get_contents($urladdress);