]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/deletable.php
adapt instructions for creating the test db to dotenv
[nominatim.git] / website / deletable.php
index 9a0ea0d859a9a7927e343a09aafbaceffca68cc7..81fb4f99d35eeefb13ef16bd19f25708f1de0ad3 100644 (file)
@@ -9,7 +9,7 @@ $oParams = new Nominatim\ParameterParser();
 $sOutputFormat = $oParams->getSet('format', array('json'), 'json');
 set_exception_handler_by_format($sOutputFormat);
 
-$oDB = new Nominatim\DB();
+$oDB = new Nominatim\DB(CONST_Database_DSN);
 $oDB->connect();
 
 $sSQL = 'select placex.place_id, country_code,';