]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/db.php
de-deplicate terms
[nominatim.git] / lib / db.php
index c50b3c404deb4223728b87aae90d6f926e071954..acdb31c45272d08c66540e796ec67857de974a6c 100644 (file)
@@ -7,7 +7,9 @@
                $oDB =& DB::connect(CONST_Database_DSN.($bNew?'?new_link=true':''), false);
                if (PEAR::IsError($oDB))
                {
-                       fail($oDB->getMessage(), 'Unable to connect to the database');
+                       var_dump(CONST_Database_DSN);
+                       var_Dump($oDB);
+                       fail($oDB->getMessage());
                }
                $oDB->setFetchMode(DB_FETCHMODE_ASSOC);
                $oDB->query("SET DateStyle TO 'sql,european'");