Skip to content
Snippets Groups Projects
Commit 5b698b34 authored by pbarroca's avatar pbarroca
Browse files

Nouvelle gestion d'erreur sans redirection pouvant induire une boucle de redirection

parent 8a4fe044
No related merge requests found
......@@ -46,6 +46,10 @@ class ZendAfi_Controller_Plugin_AdminAuth extends Zend_Controller_Plugin_Abstrac
// Entree dans fonctions admin
if ($module == 'admin' and $controller != 'error')
{
Zend_Controller_Front::getInstance()
->getPlugin('Zend_Controller_Plugin_ErrorHandler')
->setErrorHandlerModule('admin');
$acl = new ZendAfi_Acl_AdminControllerRoles();
// Un user est connecté
if($auth->hasIdentity())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment