Split lookupInCountry in two functions and document NOMINATIM_SEARCH_WITHIN_COUNTRIES parameter

This commit is contained in:
alfmarcua
2023-07-06 08:52:12 +02:00
parent 26e78efbb9
commit 4b53cf1464
3 changed files with 29 additions and 7 deletions

View File

@@ -41,6 +41,7 @@ loadSettings($aCMDResult['project-dir'] ?? getcwd());
@define('CONST_Use_US_Tiger_Data', getSettingBool('USE_US_TIGER_DATA'));
@define('CONST_MapIcon_URL', getSetting('MAPICON_URL', false));
@define('CONST_TokenizerDir', CONST_InstallDir.'/tokenizer');
@define('CONST_Search_WithinCountries', getSetting('SEARCH_WITHIN_COUNTRIES', false));
require_once(CONST_LibDir.'/Geocode.php');