Issues

ZF-2313: Conditionally require ViewRenderer and ErrorHandler in Zend_Controller_Front

Description

Zend_Controller_Front.php has the following lines of code on the top instead of conditionally requiring them in dispatch():


/** Zend_Controller_Action_Helper_ViewRenderer */
require_once 'Zend/Controller/Action/Helper/ViewRenderer.php';

/** Zend_Controller_Plugin_ErrorHandler */
require_once 'Zend/Controller/Plugin/ErrorHandler.php';

For those who don't use ViewRenderer and ErrorHandler, these files still get included on each page-load unless they are moved into dispatch() to require them conditionally.

Comments

Fixed in r7130 in trunk.