(mvc) remove zfdebug

Remove zfdebug since it is unused and has a dependency on zendframework1.
This commit is contained in:
Lucas Bickel 2018-12-23 08:50:55 +01:00
parent cb0daddaf5
commit bc17f483bd
3 changed files with 12 additions and 72 deletions

View file

@ -43,29 +43,14 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
$view->doctype('XHTML1_STRICT');
}
protected function _initZFDebug()
/**
* initialize front controller
*
* This is call ZFrontController to ensure it is executed last in the bootstrap process.
*/
protected function _initZFrontController()
{
Zend_Controller_Front::getInstance()->throwExceptions(false);
/*
if (APPLICATION_ENV == "development") {
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('ZFDebug');
$options = array(
'plugins' => array('Variables',
'Exception',
'Memory',
'Time')
);
$debug = new ZFDebug_Controller_Plugin_Debug($options);
$this->bootstrap('frontController');
$frontController = $this->getResource('frontController');
$frontController->registerPlugin($debug);
}
*/
}
protected function _initRouter()