diff options
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);
}
|