diff options
author | xue <> | 2005-12-03 04:42:14 +0000 |
---|---|---|
committer | xue <> | 2005-12-03 04:42:14 +0000 |
commit | 0d42be79b9dfeaa7686fb7da11920af4eb0561d7 (patch) | |
tree | 2ddbfeb4243ed5d87985158ee905ea521c430fca /framework/Exceptions/TErrorHandler.php | |
parent | c488100ee3bf9d6c27a0a78e3174a6c698fabfa2 (diff) |
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);
}
|