Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 2958 → Rev 2959

/trunk/jrest/bibliotheque/RechercheInfosTaxonBeta.php
58,7 → 58,7
$this->masque_recherche = trim(trim($genre).' '.trim($espece,' *'));
$masque = urlencode($this->masque_recherche);
if(self::DEBUG) error_log("CEL fetch: " . $this->url_service_nom.'?masque='.$masque.'&recherche=etendue&retour.format=min&navigation.limite=50&ns.structure=au');
$urlService = $this->url_service_nom.'?masque='.$masque.'&recherche=etendue&retour.format=min&navigation.limite=50&ns.structure=au';
$urlService = $this->url_service_nom.'?masque='.$masque.'&recherche=etendue&retour.format=min&navigation.limite=50&ns.structure=au,an';
$requete = @file_get_contents($urlService);
if($requete != '') {
$requete = json_decode($requete);