Modification sur l'url de fourniture du service

This commit is contained in:
Michael RICOIS 2011-10-12 09:43:04 +00:00
parent 699b5a60ee
commit 099310993e

View File

@ -74,17 +74,10 @@ class DocumentationController extends Zend_Controller_Action
//Définir l'url d'accès au WSDL
$wsdl_url = $this->view->baseUrl();
switch($ws){
case 'Interne':
$wsdl_url.= '/interne/v'.$version.'?wsdl';
break;
case 'Entreprise':
if (APPLICATION_ENV == 'production'){
$wsdl_url.= '/entreprise/v'.$version.'?wsdl';
} else {
$wsdl_url.= '/entreprise/v'.$version.'?wsdl-auto';
}
break;
if (APPLICATION_ENV == 'production'){
$wsdl_url.= '/'.$ws.'/v'.$version.'?wsdl';
} else {
$wsdl_url.= '/'.$ws.'/v'.$version.'?wsdl-auto';
}
// Affichage de la documentation
require_once 'Web/WebClassDoc.php';