Merge pull request #653 from radiorabe/chore/remove-zfdebug

Remove zfdebug
This commit is contained in:
Robb 2018-12-23 11:48:43 -05:00 committed by GitHub
commit 7c1bea379c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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()