]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/settings.php
addresses not claculated for some named poi
[nominatim.git] / settings / settings.php
index 51c66ee0d1a5f3ef20664f8629717afd2add6e8a..8f966e5e3b8b1221288b6a02dfee59f7c4e0cf7b 100644 (file)
@@ -1,11 +1,10 @@
 <?php
-
        if (file_exists(CONST_BasePath.'/settings/local.php')) require_once(CONST_BasePath.'/settings/local.php');
        if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true);
 
        // General settings
        @define('CONST_Debug', false);
-       @define('CONST_Database_DSN', 'pgsql://brian@/nominatim');
+       @define('CONST_Database_DSN', 'pgsql://@/nominatim');
 
        // Paths
        @define('CONST_Path_Postgresql_Contrib', '/usr/share/postgresql/9.0/contrib');
@@ -17,6 +16,7 @@
        @define('CONST_BlockedIPs', '');
 
        @define('CONST_Website_BaseURL', 'http://'.php_uname('n').'/');
+       @define('CONST_Tile_Default', 'Mapnik');
 
        @define('CONST_Default_Language', 'xx');
        @define('CONST_Default_Lat', 20.0);
@@ -26,3 +26,8 @@
        @define('CONST_Search_AreaPolygons_Enabled', true);
 
        @define('CONST_Suggestions_Enabled', false);
+
+       // Log settings
+       @define('CONST_Log_DB', true);
+       @define('CONST_Log_File', false);
+       @define('CONST_Log_File_Format', 'TODO'); // Currently hard coded