Majuscle pour les noms des clients

This commit is contained in:
Michael RICOIS 2011-10-12 10:04:04 +00:00
parent 146c22cf7b
commit ae43ba0821

View File

@ -81,7 +81,7 @@ class DocumentationController extends Zend_Controller_Action
}
// Affichage de la documentation
require_once 'Web/WebClassDoc.php';
$doc = new WebClassDoc($ws, $classmap, $pathClassService);
$doc = new WebClassDoc(ucfirst($ws), $classmap, $pathClassService);
$tabServiceMethods = $doc->getServiceMethods();
// Tri des méthodes par ordre alphabétique
$tabServiceMethodsK = array();
@ -104,7 +104,7 @@ class DocumentationController extends Zend_Controller_Action
$ws = 'Entreprise';
// Gestion des versions
$configServiceVersions = new Zend_Config_Ini('WsScore/Clients/'.$client.'/Versions.ini');
$configServiceVersions = new Zend_Config_Ini('WsScore/Clients/'.ucfirst($client).'/Versions.ini');
foreach( $configServiceVersions->toArray() as $section => $params ){
$serviceVersions[$section] = $params;
if ($params['defaut']) {