mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 22:12:45 +03:00
fix access to environment variable
This commit is contained in:
parent
04690ad8c4
commit
bc09d7aedb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user