Small change to index.

This commit is contained in:
green-ponies (jgen) 2012-01-12 20:28:16 -05:00
parent fc12bbbfe5
commit aa9c8c2097

View file

@ -159,17 +159,17 @@ catch(Exception $e) {
$message = $e->getMessage(); $message = $e->getMessage();
//$trace = var_dump($e->getTrace()); //$trace = var_dump($e->getTrace());
header("HTTP/1.0 500 Internal Error"); header("HTTP/1.0 500 Internal Error");
print <<<EOD echo '
<html> <html>
<head> <head>
<title>Internal error - SCore-$version</title> <title>Internal error - SCore-'.$version.'</title>
</head> </head>
<body> <body>
<h1>Internal Error</h1> <h1>Internal Error</h1>
<p>$message <p>'.$message.'
</body> </body>
</html> </html>
EOD; ';
$database->db->rollback(); $database->db->rollback();
ctx_log_ender(); ctx_log_ender();
} }