fix access to environment variable

This commit is contained in:
Sarah Hoffmann 2021-01-14 09:29:43 +01:00
parent 04690ad8c4
commit bc09d7aedb

View File

@ -41,7 +41,7 @@ function getSettingBool($sConfName)
function getSettingConfig($sConfName, $sSystemConfig)
{
$sValue = $_ENV['NOMINATIM_'.$sConfName];
$sValue = $_SERVER['NOMINATIM_'.$sConfName];
if (!$sValue) {
return CONST_DataDir.'/settings/'.$sSystemConfig;