Issues

ZF-3359: Missing require_once for exception in ViewRenderer

Issue Type: Bug Created: 2008-05-30T12:49:10.000+0000 Last Updated: 2008-09-02T10:39:32.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Geoffrey Tran (potatobob) Assignee: julien PAULI (doctorrock83) Tags: - Zend_Controller

Related issues: Attachments:

Description

around lines 257

<pre class="highlight">
    /**
     * 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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts