fix HTTP return on status when database is down

This commit is contained in:
Sarah Hoffmann 2015-08-08 17:50:29 +02:00
parent 134553b184
commit 9e5c9ca81d

View File

@ -10,7 +10,7 @@
exit;
}
$oDB =& getDB();
$oDB =& DB::connect(CONST_Database_DSN, false);
if (!$oDB || PEAR::isError($oDB))
{
statusError("No database");