Index: Action/Interface.php =================================================================== --- Action/Interface.php (revision 0) +++ Action/Interface.php (revision 0) @@ -0,0 +1,24 @@ +getResponse(), $this->getParams()); - if (!$controller instanceof Zend_Controller_Action) { + if (!$controller instanceof Zend_Controller_Action_Interface) { require_once 'Zend/Controller/Dispatcher/Exception.php'; throw new Zend_Controller_Dispatcher_Exception("Controller '$className' is not an instance of Zend_Controller_Action"); } @@ -319,8 +319,8 @@ public function loadClass($className) { $finalClass = $className; - if (($this->_defaultModule != $this->_curModule) - || $this->getParam('prefixDefaultModule')) + if (($this->_defaultModule != $this->_curModule) + || $this->getParam('prefixDefaultModule')) { $finalClass = $this->formatClassName($this->_curModule, $className); }