Redirection avis de situation Insee
This commit is contained in:
parent
47aa8d5120
commit
304942f6eb
@ -1220,9 +1220,11 @@ class IdentiteController extends Zend_Controller_Action
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
if (APPLICATION_ENV == 'staging' || true) {
|
||||
$this->redirect('http://avis-situation-sirene.insee.fr/');
|
||||
} else {
|
||||
// ==> Start
|
||||
$avis = new Scores_Insee_AvisSituation($this->siret);
|
||||
|
||||
if (!$avis->erreur()){
|
||||
$avis->erreurcpt('raz');
|
||||
$body = $avis->get('pdf', 1);
|
||||
@ -1250,6 +1252,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
echo $avis->erreurmsg();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Téléchargement des cartes IRIS
|
||||
|
Loading…
Reference in New Issue
Block a user