summaryrefslogtreecommitdiff
path: root/framework/Exceptions
diff options
context:
space:
mode:
authorxue <>2008-01-04 22:46:57 +0000
committerxue <>2008-01-04 22:46:57 +0000
commite1efeb5f9def8439f027d06c767ca2571d507e6f (patch)
tree6e19f6fafdd9a8a3790bebbe9b43573ffc48d76f /framework/Exceptions
parentfaa7d9973a9b9ee8d3e1459e2ad414bee245478b (diff)
Fixed #743.
Diffstat (limited to 'framework/Exceptions')
-rw-r--r--framework/Exceptions/TErrorHandler.php1
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);
}