133,6 → 133,9 |
$cache = $this->obtenirCache('baseflor_graphique_'.$num_nom); |
if($cache != null) { |
$baseflor = $cache; |
$this->graphique ->setProjet('baseflor'); |
$graphique = $this->graphique->getLegendeGraphique(); |
$baseflor['legende'] = $graphique ; |
} else { |
$baseflor = array(); |
$this->informations ->setProjet('baseflor'); |
144,8 → 147,8 |
$baseflor['sol_url'] = $informations['graphique_sol']['href']."?retour.format=500"; |
$baseflor['climat_url_png'] = $informations['graphique_climat']['href']."?retour=image/png"; |
$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png"; |
$this->graphique -> setProjet('baseflor'); |
if($inclure_legende) { |
$this->graphique ->setProjet('baseflor'); |
$graphique = $this->graphique->getLegendeGraphique(); |
$baseflor['legende'] = $graphique ; |
} |