From 9e5c9ca81d1aa645e1ac99f7dc63e8d81addf0d8 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 8 Aug 2015 17:50:29 +0200 Subject: [PATCH] fix HTTP return on status when database is down --- website/status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/status.php b/website/status.php index a876f999..832f4600 100644 --- a/website/status.php +++ b/website/status.php @@ -10,7 +10,7 @@ exit; } - $oDB =& getDB(); + $oDB =& DB::connect(CONST_Database_DSN, false); if (!$oDB || PEAR::isError($oDB)) { statusError("No database");