X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bc449e10be56e2225dec7a2256f92977850c5ea9..a8afb9bd3c8b35ffbf7881dbd808ef27e58ea7dc:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index 0d55c4c8..7285ee66 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -6,7 +6,7 @@ // General settings @define('CONST_Debug', false); - @define('CONST_Database_DSN', 'pgsql://@/nominatim'); // ://:@:/ + @define('CONST_Database_DSN', 'pgsql://@/nominatim'); // ://:@:/ @define('CONST_Database_Web_User', 'www-data'); @define('CONST_Max_Word_Frequency', '50000'); @define('CONST_Limit_Reindexing', true); @@ -86,7 +86,7 @@ @define('CONST_BulkUserIPs', ''); @define('CONST_BlockMessage', ''); // additional info to show for blocked IPs - @define('CONST_Website_BaseURL', 'http://localhost/nominatim/'); + @define('CONST_Website_BaseURL', 'http://'.php_uname('n').'/'); @define('CONST_Tile_Default', 'Mapnik'); @define('CONST_Default_Language', false);