diff options
Diffstat (limited to 'framework/Exceptions/TErrorHandler.php')
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index 8af92ecc..e9f48a2b 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -67,7 +67,7 @@ class TErrorHandler extends TComponent implements IModule /**
* @var string module ID
*/
- private $_id;
+ private $_id='error';
/**
* @var TApplication application instance
*/
@@ -86,7 +86,6 @@ class TErrorHandler extends TComponent implements IModule public function init($application,$config)
{
$this->_application=$application;
- $application->attachEventHandler('Error',array($this,'handleError'));
$application->setErrorHandler($this);
}
|