X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bc09d7aedbf3fbc2a1471c70fde43f8eb5a432e2..a759c5b75b66894b1902327097185840a2557f86:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 5e89916c..a02fefd0 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -1,7 +1,5 @@ load(CONST_DataDir.'/settings/env.defaults'); - - if (file_exists($sProjectDir.'/.env')) { - $dotenv->load($sProjectDir.'/.env'); - } + defined('CONST_Default_ModulePath') or define('CONST_Default_ModulePath', $_SERVER['NOMINATIM_DATABASE_MODULE_SRC_PATH']); } function getSetting($sConfName, $sDefault = null)