diff --git a/index.php b/index.php index fb939ed1..9de7fb73 100644 --- a/index.php +++ b/index.php @@ -159,17 +159,17 @@ catch(Exception $e) { $message = $e->getMessage(); //$trace = var_dump($e->getTrace()); header("HTTP/1.0 500 Internal Error"); - print << - Internal error - SCore-$version + Internal error - SCore-'.$version.'

Internal Error

-

$message +

'.$message.' -EOD; +'; $database->db->rollback(); ctx_log_ender(); }