diff --git a/library/WsScore/Entreprise/v0.2/Entreprise.php b/library/WsScore/Entreprise/v0.2/Entreprise.php index 72e1e9d5..b549c8f1 100644 --- a/library/WsScore/Entreprise/v0.2/Entreprise.php +++ b/library/WsScore/Entreprise/v0.2/Entreprise.php @@ -2582,11 +2582,11 @@ class Entreprise extends WsScore //Test connexion à la base de données $db = new WDB('jo'); if ($db === false) { - $error->statusCode = 1; - $error->statusMsg = 'Erreur critique'; + $error->statusCode = 9000; + $error->statusMsg = $this->listError['9000']; } else { - $error->statusCode = 0; - $error->statusMsg = 'Services disponible (beta)'; + $error->statusCode = 3000; + $error->statusMsg = $this->listError['3000']; } return $error; }