X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d97aed87411fad81eb93fd14a58bb22fdc16dd59..812de0545d2ac39b9a7214cd69c7674246e18bf7:/utils/query.php diff --git a/utils/query.php b/utils/query.php index d002f898..429b30ff 100644 --- a/utils/query.php +++ b/utils/query.php @@ -35,6 +35,7 @@ $aCMDOptions getCmdOpt($_SERVER['argv'], $aCMDOptions, $aCMDResult, true, true); loadSettings($aCMDResult['project-dir'] ?? getcwd()); + @define('CONST_Database_DSN', getSetting('DATABASE_DSN')); @define('CONST_Default_Language', getSetting('DEFAULT_LANGUAGE', false)); @define('CONST_Log_DB', getSettingBool('LOG_DB'));