Small change to index.
This commit is contained in:
parent
fc12bbbfe5
commit
aa9c8c2097
1 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue