diff --git a/config/sdsrvdev01/config.inc b/config/sdsrvdev01/config.inc index 5aa22d2b2..52fbb2481 100644 --- a/config/sdsrvdev01/config.inc +++ b/config/sdsrvdev01/config.inc @@ -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'))) { diff --git a/includes/menu/menu_liens.php b/includes/menu/menu_liens.php index fdcb6ae80..2b7ca64ed 100644 --- a/includes/menu/menu_liens.php +++ b/includes/menu/menu_liens.php @@ -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; } }