PSR2 fixes for /settings

This commit is contained in:
Marc Tobias Metten
2016-09-14 03:50:18 +02:00
parent 775fdeb8e4
commit 02550cc4dc
3 changed files with 58 additions and 55 deletions

View File

@@ -13,15 +13,15 @@ if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true);
@define('CONST_Limit_Reindexing', true); @define('CONST_Limit_Reindexing', true);
// Set to false to avoid importing extra postcodes for the US. // Set to false to avoid importing extra postcodes for the US.
@define('CONST_Use_Extra_US_Postcodes', true); @define('CONST_Use_Extra_US_Postcodes', true);
// Set to true after importing Tiger house number data for the US. /* Set to true after importing Tiger house number data for the US.
// Note: The tables must already exist or queries will throw errors. Note: The tables must already exist or queries will throw errors.
// After changing this setting run ./utils/setup --create-functions After changing this setting run ./utils/setup --create-functions
// again. again. */
@define('CONST_Use_US_Tiger_Data', false); @define('CONST_Use_US_Tiger_Data', false);
// Set to true after importing other external house number data. /* Set to true after importing other external house number data.
// Note: the aux tables must already exist or queries will throw errors. Note: the aux tables must already exist or queries will throw errors.
// After changing this setting run ./utils/setup --create-functions After changing this setting run ./utils/setup --create-functions
// again. again. */
@define('CONST_Use_Aux_Location_data', false); @define('CONST_Use_Aux_Location_data', false);
// Proxy settings // Proxy settings
@@ -101,4 +101,3 @@ if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true);
@define('CONST_Log_DB', false); @define('CONST_Log_DB', false);
// Set to a file name to enable logging to a file. // Set to a file name to enable logging to a file.
@define('CONST_Log_File', false); @define('CONST_Log_File', false);

View File

@@ -1,8 +1,10 @@
<?php <?php
# These settings control the import of special phrases from the wiki.
# Languages to download the special phrases for. // These settings control the import of special phrases from the wiki.
$aLanguageIn = array(
// Languages to download the special phrases for.
$aLanguageIn
= array(
'af', 'af',
'ar', 'ar',
'br', 'br',
@@ -36,16 +38,19 @@ $aLanguageIn = array(
'vi', 'vi',
); );
# class/type combinations to exclude // class/type combinations to exclude
$aTagsBlacklist = array( $aTagsBlacklist
= array(
'boundary' => array('administrative'), 'boundary' => array('administrative'),
'place' => array('house', 'houses'), '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. // If a class is in the white list then all types will
# Also use this list to exclude an entire class from // be ignored except the ones given in the list.
# special phrases. // Also use this list to exclude an entire class from
$aTagsWhitelist = array( // special phrases.
$aTagsWhitelist
= array(
'highway' => array('bus_stop', 'rest_area', 'raceway'), 'highway' => array('bus_stop', 'rest_area', 'raceway'),
'building' => array(), 'building' => array(),
); );

View File

@@ -2,4 +2,3 @@
echo "ERROR: Scripts must be run from build directory.\n"; echo "ERROR: Scripts must be run from build directory.\n";
exit; exit;