Intégration des versions du moteur php pour les recherches

This commit is contained in:
Michael RICOIS 2011-12-29 15:46:36 +00:00
parent cef825e899
commit cfb29f0773
2 changed files with 3 additions and 4 deletions

View File

@ -765,8 +765,7 @@ function getNic($siren, $numEtab=1) {
);
if ($ape_etab<>'') $formR['naf']=$ape_etab;
$version = 1;
$version = defined('SPHINX_ENT_VERSION') ? SPHINX_ENT_VERSION : 1;
$result = array();
switch($version)
{
@ -945,7 +944,7 @@ public function rechercheDir($nom, $prenom='', $fonction='', $dateNaiss='', $vil
'cpVille' => $villeNaiss,
);
$version = 1;
$version = defined('SPHINX_DIR_VERSION') ? SPHINX_DIR_VERSION : 1;
$result = array();
switch($version)
{

View File

@ -717,7 +717,7 @@ class MLiens {
'pctMax' => $pctMax,
);
$version = 1;
$version = defined('SPHINX_ACT_VERSION') ? SPHINX_ACT_VERSION : 1;
switch($version)
{
case 1: