Update location.php add curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

Change Read me for versioning.