mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-10-05 06:57:34 +03:00
PSR2 fixes for /settings
This commit is contained in:
parent
775fdeb8e4
commit
02550cc4dc
@ -13,15 +13,15 @@ if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true);
|
||||
@define('CONST_Limit_Reindexing', true);
|
||||
// Set to false to avoid importing extra postcodes for the US.
|
||||
@define('CONST_Use_Extra_US_Postcodes', true);
|
||||
// Set to true after importing Tiger house number data for the US.
|
||||
// Note: The tables must already exist or queries will throw errors.
|
||||
// After changing this setting run ./utils/setup --create-functions
|
||||
// again.
|
||||
/* Set to true after importing Tiger house number data for the US.
|
||||
Note: The tables must already exist or queries will throw errors.
|
||||
After changing this setting run ./utils/setup --create-functions
|
||||
again. */
|
||||
@define('CONST_Use_US_Tiger_Data', false);
|
||||
// Set to true after importing other external house number data.
|
||||
// Note: the aux tables must already exist or queries will throw errors.
|
||||
// After changing this setting run ./utils/setup --create-functions
|
||||
// again.
|
||||
/* Set to true after importing other external house number data.
|
||||
Note: the aux tables must already exist or queries will throw errors.
|
||||
After changing this setting run ./utils/setup --create-functions
|
||||
again. */
|
||||
@define('CONST_Use_Aux_Location_data', false);
|
||||
|
||||
// Proxy settings
|
||||
@ -101,4 +101,3 @@ if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true);
|
||||
@define('CONST_Log_DB', false);
|
||||
// Set to a file name to enable logging to a file.
|
||||
@define('CONST_Log_File', false);
|
||||
|
||||
|
@ -1,8 +1,10 @@
|
||||
<?php
|
||||
# These settings control the import of special phrases from the wiki.
|
||||
|
||||
# Languages to download the special phrases for.
|
||||
$aLanguageIn = array(
|
||||
// These settings control the import of special phrases from the wiki.
|
||||
|
||||
// Languages to download the special phrases for.
|
||||
$aLanguageIn
|
||||
= array(
|
||||
'af',
|
||||
'ar',
|
||||
'br',
|
||||
@ -36,16 +38,19 @@ $aLanguageIn = array(
|
||||
'vi',
|
||||
);
|
||||
|
||||
# class/type combinations to exclude
|
||||
$aTagsBlacklist = array(
|
||||
// class/type combinations to exclude
|
||||
$aTagsBlacklist
|
||||
= array(
|
||||
'boundary' => array('administrative'),
|
||||
'place' => array('house', 'houses'),
|
||||
);
|
||||
# If a class is in the white list then all types will
|
||||
# be ignored except the ones given in the list.
|
||||
# Also use this list to exclude an entire class from
|
||||
# special phrases.
|
||||
$aTagsWhitelist = array(
|
||||
|
||||
// If a class is in the white list then all types will
|
||||
// be ignored except the ones given in the list.
|
||||
// Also use this list to exclude an entire class from
|
||||
// special phrases.
|
||||
$aTagsWhitelist
|
||||
= array(
|
||||
'highway' => array('bus_stop', 'rest_area', 'raceway'),
|
||||
'building' => array(),
|
||||
);
|
||||
|
@ -2,4 +2,3 @@
|
||||
|
||||
echo "ERROR: Scripts must be run from build directory.\n";
|
||||
exit;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user