Modification de la configuration pour le secours

This commit is contained in:
Michael RICOIS 2011-09-29 15:08:28 +00:00
parent 358bbe23d6
commit c7c13379ea
4 changed files with 49 additions and 16 deletions

View File

@ -52,13 +52,22 @@ define ('PATH_LOGOS',PATH_DATA.'/logos/');
//URL application ipari //URL application ipari
define ('IPARI_URL','http://ipari.scores-decisions.com'); define ('IPARI_URL','http://ipari.scores-decisions.com');
//Webservice : accès céleste define('LOCATION', 'CELESTE'); // CELESTE, SD-25137
if (in_array(ENVIRONNEMENT, array('REC', 'DEV'))) { if (in_array(ENVIRONNEMENT, array('REC', 'DEV'))) {
//Webservice : accès CELESTE
define ('WEBSERVICE_URL','http://78.31.45.206/ws2/'); define ('WEBSERVICE_URL','http://78.31.45.206/ws2/');
define ('WEBSERVICE_URI','http://78.31.45.206/'); define ('WEBSERVICE_URI','http://78.31.45.206/');
} else { } else {
define ('WEBSERVICE_URL','http://78.31.45.206:8088/ws/'); //Webservice : accès SD-25137
define ('WEBSERVICE_URI','http://78.31.45.206:8088/'); if (LOCATION == 'SD-25137') {
define ('WEBSERVICE_URL','http://88.190.14.56:8088/ws/');
define ('WEBSERVICE_URI','http://88.190.14.56:8088/');
}
//Webservice : accès CELESTE
elseif (LOCATION == 'CELESTE') {
define ('WEBSERVICE_URL','http://78.31.45.206:8088/ws/');
define ('WEBSERVICE_URI','http://78.31.45.206:8088/');
}
} }
//Webservice INFOGREFFE //Webservice INFOGREFFE

View File

@ -50,13 +50,22 @@ define ('PATH_LOGOS',PATH_DATA.'/logos/');
//URL application ipari //URL application ipari
define ('IPARI_URL','http://ipari.scores-decisions.com'); define ('IPARI_URL','http://ipari.scores-decisions.com');
//Webservice : accès céleste define('LOCATION', 'CELESTE'); // CELESTE, SD-25137
if (in_array(ENVIRONNEMENT, array('REC', 'DEV'))) { if (in_array(ENVIRONNEMENT, array('REC', 'DEV'))) {
//Webservice : accès CELESTE
define ('WEBSERVICE_URL','http://78.31.45.206/ws2/'); define ('WEBSERVICE_URL','http://78.31.45.206/ws2/');
define ('WEBSERVICE_URI','http://78.31.45.206/'); define ('WEBSERVICE_URI','http://78.31.45.206/');
} else { } else {
define ('WEBSERVICE_URL','http://78.31.45.206:8088/ws/'); //Webservice : accès SD-25137
define ('WEBSERVICE_URI','http://78.31.45.206:8088/'); if (LOCATION == 'SD-25137') {
define ('WEBSERVICE_URL','http://88.190.14.56:8088/ws/');
define ('WEBSERVICE_URI','http://88.190.14.56:8088/');
}
//Webservice : accès CELESTE
elseif (LOCATION == 'CELESTE') {
define ('WEBSERVICE_URL','http://78.31.45.206:8088/ws/');
define ('WEBSERVICE_URI','http://78.31.45.206:8088/');
}
} }
//Webservice INFOGREFFE //Webservice INFOGREFFE

View File

@ -50,18 +50,24 @@ define ('PATH_LOGOS',PATH_DATA.'/logos/');
//URL application ipari //URL application ipari
define ('IPARI_URL','http://ipari.scores-decisions.com'); define ('IPARI_URL','http://ipari.scores-decisions.com');
//Webservice : accès céleste define('LOCATION', 'CELESTE'); // CELESTE, SD-25137
if (in_array(ENVIRONNEMENT, array('REC', 'DEV'))) { if (in_array(ENVIRONNEMENT, array('REC', 'DEV'))) {
//Webservice : accès CELESTE
define ('WEBSERVICE_URL','http://78.31.45.206/ws2/'); define ('WEBSERVICE_URL','http://78.31.45.206/ws2/');
define ('WEBSERVICE_URI','http://78.31.45.206/'); define ('WEBSERVICE_URI','http://78.31.45.206/');
} else { } else {
define ('WEBSERVICE_URL','http://78.31.45.206:8088/ws/'); //Webservice : accès SD-25137
define ('WEBSERVICE_URI','http://78.31.45.206:8088/'); if (LOCATION == 'SD-25137') {
/* define ('WEBSERVICE_URL','http://88.190.14.56:8088/ws/');
define ('WEBSERVICE_URL','http://88.162.202.159:8080/ws/'); define ('WEBSERVICE_URI','http://88.190.14.56:8088/');
define ('WEBSERVICE_URI','http://88.162.202.159:8080/ws'); }
*/ //Webservice : accès CELESTE
elseif (LOCATION == 'CELESTE') {
define ('WEBSERVICE_URL','http://78.31.45.206:8088/ws/');
define ('WEBSERVICE_URI','http://78.31.45.206:8088/');
}
} }
//Webservice INFOGREFFE //Webservice INFOGREFFE
define ('INFOGREFFE_WS_URL','https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE'); define ('INFOGREFFE_WS_URL','https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE');
define ('INFOGREFFE_WS_URI','https://webservices.infogreffe.fr/'); define ('INFOGREFFE_WS_URI','https://webservices.infogreffe.fr/');

View File

@ -50,13 +50,22 @@ define ('PATH_LOGOS',PATH_DATA.'/logos/');
//URL application ipari //URL application ipari
define ('IPARI_URL','http://ipari.sd.lan'); define ('IPARI_URL','http://ipari.sd.lan');
//Webservice : accès céleste define('LOCATION', 'CELESTE'); // CELESTE, SD-25137
if (in_array(ENVIRONNEMENT, array('REC', 'DEV'))) { if (in_array(ENVIRONNEMENT, array('REC', 'DEV'))) {
//Webservice : accès CELESTE
define ('WEBSERVICE_URL','http://78.31.45.206/ws2/'); define ('WEBSERVICE_URL','http://78.31.45.206/ws2/');
define ('WEBSERVICE_URI','http://78.31.45.206/'); define ('WEBSERVICE_URI','http://78.31.45.206/');
} else { } else {
define ('WEBSERVICE_URL','http://78.31.45.206:8088/ws/'); //Webservice : accès SD-25137
define ('WEBSERVICE_URI','http://78.31.45.206:8088/'); if (LOCATION == 'SD-25137') {
define ('WEBSERVICE_URL','http://88.190.14.56:8088/ws/');
define ('WEBSERVICE_URI','http://88.190.14.56:8088/');
}
//Webservice : accès CELESTE
elseif (LOCATION == 'CELESTE') {
define ('WEBSERVICE_URL','http://78.31.45.206:8088/ws/');
define ('WEBSERVICE_URI','http://78.31.45.206:8088/');
}
} }
//Webservice INFOGREFFE //Webservice INFOGREFFE