Instantiation WsDebug

This commit is contained in:
Michael RICOIS 2011-08-15 19:53:03 +00:00
parent 3b80f47220
commit 391bf3ec72

View File

@ -146,6 +146,24 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
return $router;
}
protected function _initWsDebug()
{
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('WsDebug');
$options = array(
'plugins' => array(
'Exception',
),
);
$debug = new WsDebug_Controller_Plugin_Debug($options);
$this->bootstrap('frontController');
$frontController = $this->getResource('frontController');
$frontController->registerPlugin($debug);
}
}