mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-26 13:27:52 +03:00
allow to pass an additional config file via NOMINATIM_SETTINGS variable to command line tools
needed for test environment
This commit is contained in:
parent
f89f1a65b6
commit
29dfc0c259
@ -1,4 +1,9 @@
|
||||
<?php
|
||||
if (file_exists(getenv('NOMINATIM_SETTINGS')))
|
||||
{
|
||||
echo 'Using local config: '.getenv('NOMINATIM_SETTINGS');
|
||||
require_once(getenv('NOMINATIM_SETTINGS'));
|
||||
}
|
||||
|
||||
require_once('init.php');
|
||||
require_once('cmd.php');
|
||||
|
Loading…
Reference in New Issue
Block a user