X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b5480f6e366be7c7d06d8444acc4cfd6a1aa31e2..0947b618085f7d46515a3ec06cab5ed818e8635f:/utils/check_import_finished.php diff --git a/utils/check_import_finished.php b/utils/check_import_finished.php index 1eb012d4..6623f0c8 100755 --- a/utils/check_import_finished.php +++ b/utils/check_import_finished.php @@ -2,6 +2,8 @@ require_once(CONST_LibDir.'/init-cmd.php'); +loadSettings(false); + $term_colors = array( 'green' => "\033[92m", 'red' => "\x1B[31m", @@ -35,7 +37,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; @@ -166,7 +168,7 @@ END; -if (CONST_Use_US_Tiger_Data) { +if (getSettingBool('USE_US_TIGER_DATA')) { echo 'Checking TIGER table exists ... '; if ($oDB->tableExists('location_property_tiger')) { $print_success();