|
Perforce Chronicle 2012.2/486814
API Documentation
|
Register the error module as the error handler. More...
Static Public Member Functions | |
| static | load () |
| Reconfigure the error handler plugin. | |
Register the error module as the error handler.
| static Error_Module::load | ( | ) | [static] |
Reconfigure the error handler plugin.
Reimplemented from P4Cms_Module_Integration.
{
$front = Zend_Controller_Front::getInstance();
$front->registerPlugin(
new Zend_Controller_Plugin_ErrorHandler(
array(
'module' => 'error',
'controller' => 'index',
'action' => 'error',
)
),
100
);
}