158,7 → 158,8 |
private function getBaseflor($inclure_legende = true) { |
if (Config::get($this->referentiel.'.baseEcologie') != "") { |
$num_nom = $this->nomCourant->getNns(); |
$cache = $this->obtenirCache('baseflor_graphique_'.$num_nom); |
$referentiel = $this->conteneur->getParametre('referentiel'); |
$cache = $this->obtenirCache('baseflor/graphique/'.$referentiel.'_'.$num_nom); |
if($cache != null) { |
$baseflor = $cache; |
$this->graphique ->setProjet('baseflor'); |
196,7 → 197,7 |
$baseflor['meta']['citation'] = $citation; |
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor'); |
|
$this->mettreEnCache('baseflor_graphique_'.$num_nom, $baseflor); |
$this->mettreEnCache('baseflor/graphique/'.$referentiel.'_'.$num_nom, $baseflor); |
} else { |
$baseflor['aucune'] = 'Aucunes données'; |
} |