]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/status.php
user interface: less whitespace in header
[nominatim.git] / website / status.php
index a876f999ffc456b820568044df4e1c03bc2a44f7..832f4600c60032c2913fdcd78d8615c5677717f9 100644 (file)
@@ -10,7 +10,7 @@
                exit;
        }
 
                exit;
        }
 
-       $oDB =& getDB();
+       $oDB =& DB::connect(CONST_Database_DSN, false);
        if (!$oDB || PEAR::isError($oDB))
        {
                statusError("No database");
        if (!$oDB || PEAR::isError($oDB))
        {
                statusError("No database");