This commit is contained in:
Michael RICOIS 2013-09-19 10:23:46 +00:00
parent 08af5c99de
commit 8c580b451e

View File

@ -10,11 +10,11 @@ class WsWorldCheck
{
$c = Zend_Registry::get('config');
$location = ($c->profil->webservice->location == 'production') ? 'production' : 'pilot';
$cWC = new Zend_Config_Ini(APPLICATION_PATH . '/../library/Worldcheck/webservicesWC.ini', $location);
$cWC = new Zend_Config_Ini(APPLICATION_PATH . '/../library/WorldCheck/webservicesWC.ini', $location);
$config = $cWC->toArray();
$this->webservices = $config['webservices'];
$configWC = new Zend_Config_Ini(APPLICATION_PATH . '/../library/Worldcheck/applicationWC.ini');
$configWC = new Zend_Config_Ini(APPLICATION_PATH . '/../library/WorldCheck/applicationWC.ini');
$data = $configWC->toArray();
$this->wcData = $data['wsworldcheck'];
}