Condition plugin edition

This commit is contained in:
Michael RICOIS 2016-05-25 16:30:06 +02:00
parent 9ef7b5b099
commit 8552b93784

View File

@ -7,11 +7,7 @@ class Application_Controller_Plugin_Input extends Zend_Controller_Plugin_Abstrac
$controller = $request->getControllerName();
$action = $request->getActionName();
if ($module == 'default' && $controller == 'index' && $action = 'index') {
return;
}
if ($module == 'auth') {
if (in_array($module, array('default', 'auth'))) {
return;
}