Fix per chiamate https api google

This commit is contained in:
Luca 2018-02-20 17:51:05 +01:00
parent 2dd4b77e5f
commit 07968489c5
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ $google = Settings::get('Google Maps API key');
if (!empty($google)) { if (!empty($google)) {
echo ' echo '
<script src="http://maps.googleapis.com/maps/api/js?libraries=places&key='.$google.'"></script>'; <script src="//maps.googleapis.com/maps/api/js?libraries=places&key='.$google.'"></script>';
} }
if (!$cliente) { if (!$cliente) {

View File

@ -7,7 +7,7 @@ $google = Settings::get('Google Maps API key');
/* /*
if (!empty($google)) { if (!empty($google)) {
echo ' echo '
<script src="http://maps.googleapis.com/maps/api/js?libraries=places&key='.$google.'"></script>'; <script src="//maps.googleapis.com/maps/api/js?libraries=places&key='.$google.'"></script>';
} }
*/ */