Condition plugin edition
This commit is contained in:
parent
9ef7b5b099
commit
8552b93784
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user