diff options
author | xue <> | 2006-02-17 05:19:25 +0000 |
---|---|---|
committer | xue <> | 2006-02-17 05:19:25 +0000 |
commit | 7b38480de52c1d042ea542e2d06913a8c9b645fc (patch) | |
tree | 67ff025fb171a5325ac8fdc75a281ce8a19a2bd5 /framework/Exceptions | |
parent | ae1c1995b2fec431afe7cca23b2697e1bef17baf (diff) |
Add TApplicationComponent class and adjusted the relevant classes.
Diffstat (limited to 'framework/Exceptions')
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index 2bbc3c7b..87f6b1c2 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -124,7 +124,7 @@ class TErrorHandler extends TModule else
{
$handling=true;
- if(($response=$this->getApplication()->getResponse())!==null)
+ if(($response=$this->getResponse())!==null)
$response->clear();
if(!headers_sent())
header('Content-Type: text/html; charset=UTF-8');
|