Ajout authentification pour la connexion à IparI, issue #0000745
This commit is contained in:
parent
e2f725a635
commit
c169cee6ca
@ -48,7 +48,7 @@ define ('PATH_PDF',PATH_DATA.'/pdf/');
|
||||
define ('PATH_LOGOS',PATH_DATA.'/logos/');
|
||||
|
||||
//URL application ipari
|
||||
define ('IPARI_URL','http://ipari.scores-decisions.com');
|
||||
define ('IPARI_URL','http://ipari.sd.lan');
|
||||
|
||||
//Webservice : accès céleste
|
||||
if (in_array(ENVIRONNEMENT, array('REC', 'DEV'))) {
|
||||
|
@ -57,10 +57,12 @@ function menu_href_annonce()
|
||||
function menu_href_ipari()
|
||||
{
|
||||
global $siret;
|
||||
$href = IPARI_URL.'?action=logon&login='.$_SESSION['tabInfo']['login'].
|
||||
'&hach='.$_SESSION['tabInfo']['password'].'&pass=';
|
||||
if ($siret*1!=0){
|
||||
return IPARI_URL.'?siret='.$siret;
|
||||
return $href.'&siret='.$siret;
|
||||
} else {
|
||||
return IPARI_URL;
|
||||
return $href;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user