ZF-3359: Missing require_once for exception in ViewRenderer
Description
around lines 257
/**
* Get module directory
*
* @throws Zend_Controller_Action_Exception
* @return string
*/
public function getModuleDirectory()
{
$module = $this->getModule();
$moduleDir = $this->getFrontController()->getControllerDirectory($module);
if ((null === $moduleDir) || is_array($moduleDir)) {
/**
* @see Zend_Controller_Action_Exception
*/
throw new Zend_Controller_Action_Exception('ViewRenderer cannot locate module directory');
}
$this->_moduleDir = dirname($moduleDir);
return $this->_moduleDir;
}
Comments
Posted by julien PAULI (doctorrock83) on 2008-05-30T15:21:19.000+0000
Fixed in r9576 thx for that report
Posted by Wil Sinclair (wil) on 2008-09-02T10:39:32.000+0000
Updating for the 1.6.0 release.