]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/check_import_finished.php
replace database settings with dotenv variant
[nominatim.git] / utils / check_import_finished.php
index 5ec99b81eb2a8164251a12b1888cdc4b0e50ceb5..570378dd6b7ab8bfc79087285d6f68645ba878dd 100755 (executable)
@@ -1,6 +1,6 @@
 <?php
 
-require_once(CONST_BasePath.'/lib/init-cmd.php');
+require_once(CONST_LibDir.'/init-cmd.php');
 
 $term_colors = array(
                 'green' => "\033[92m",
@@ -35,7 +35,7 @@ if ($oDB->checkConnection()) {
     echo <<< END
     Hints:
     * Is the database server started?
-    * Check the CONST_Database_DSN variable in build/settings/local.php
+    * Check the NOMINATIM_DATABASE_DSN variable in your local .env
     * Try connecting to the database with the same settings
 
 END;