diff options
author | xue <> | 2008-01-04 22:46:57 +0000 |
---|---|---|
committer | xue <> | 2008-01-04 22:46:57 +0000 |
commit | e1efeb5f9def8439f027d06c767ca2571d507e6f (patch) | |
tree | 6e19f6fafdd9a8a3790bebbe9b43573ffc48d76f /framework | |
parent | faa7d9973a9b9ee8d3e1459e2ad414bee245478b (diff) |
Fixed #743.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index 0eeea9ce..30ee3f4c 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -165,6 +165,7 @@ class TErrorHandler extends TModule '%%Version%%' => $version,
'%%Time%%' => @strftime('%Y-%m-%d %H:%M',time())
);
+ header("HTTP/1.0 $statusCode ".$exception->getErrorMessage());
echo strtr($content,$tokens);
}
|