154,7 → 154,6 |
$tableau = $this->traiterParametres($estProjetDefini, $tableau[0]); |
if (isset($this->parametres['squelette']) && $this->parametres['squelette'] === 'lichens') { |
$tableau['type_especes'] = 'liste'; |
$tableau['referentiel'] = 'taxref'; |
} |
$tableau['especes'] = $this->rechercherInfosEspeces($tableau); |
if ($tableau['milieux'] != "") { |
366,7 → 365,9 |
*/ |
protected function recupererListeTaxon() { |
$taxons = array(); |
$fichier_tsv = dirname(__FILE__) . self::DS . 'configurations' . self::DS . 'lichens_taxons.tsv'; |
// utiliser la ligne ci-dessous quand la liste des lichens sera prĂȘte |
// $fichier_tsv = dirname(__FILE__) . self::DS . 'configurations' . self::DS . 'lichens.tsv'; |
$fichier_tsv = dirname(__FILE__) . self::DS . 'configurations' . self::DS . 'sauvages_taxons.tsv'; |
|
if ( file_exists( $fichier_tsv ) && is_readable( $fichier_tsv ) ) { |
$taxons = $this->decomposerFichierTsv( $fichier_tsv ); |