Modification sur l'url de fourniture du service
This commit is contained in:
parent
699b5a60ee
commit
099310993e
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user