Aggiornamenti https

This commit is contained in:
2023-07-16 11:14:18 +02:00
parent 0dd8a47c51
commit 25a8495c5c
14 changed files with 41 additions and 41 deletions
+2 -2
View File
@@ -40,12 +40,12 @@ class HTMLHelper {
$cont = file_get_contents($config->files->meteoCache);
$json = json_decode($cont);
$todayImgUrl = " http://openweathermap.org/img/w/".$json->list[0]->weather[0]->icon.".png";
$todayImgUrl = " https://openweathermap.org/img/w/".$json->list[0]->weather[0]->icon.".png";
$todayTemp = $json->list[0]->main->temp;
$todayMax = $json->list[0]->main->temp_max;
$todayMin = $json->list[0]->main->temp_min;
$tomorrowImgUrl = " http://openweathermap.org/img/w/".$json->list[1]->weather[0]->icon.".png";
$tomorrowImgUrl = " https://openweathermap.org/img/w/".$json->list[1]->weather[0]->icon.".png";
$tomorrowTemp = $json->list[1]->main->temp;
$tomorrowMax = $json->list[1]->main->temp_max;
$tomorrowMin = $json->list[1]->main->temp_min;