Config var

This commit is contained in:
Michael RICOIS 2017-12-11 16:18:49 +01:00
parent 1a50acf40a
commit a1752d2d68

View File

@ -43,7 +43,7 @@ class SoFlexibiliteWebService
$this->ws = Configuration::get('SOFLEXIBILITE_WS');
// Use local wsdl file - temporary method
$useLocalWsdl = true;
$useLocalWsdl = Configuration::get('SOFLEXIBILITE_WSDL_LOCAL');
if ($useLocalWsdl === true) {
if (file_exists(realpath(__DIR__.'/../').'/wsdl/PointRetraitServiceWS-2.0.wsdl')) {
$this->ws = realpath(__DIR__.'/../').'/wsdl/PointRetraitServiceWS-2.0.wsdl';