2         if (file_exists(CONST_BasePath.'/settings/local.php')) require_once(CONST_BasePath.'/settings/local.php');
 
   3         if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true);
 
   6         @define('CONST_Debug', false);
 
   7         @define('CONST_Database_DSN', 'pgsql://@/nominatim');
 
  10         @define('CONST_Postgresql_Version', '9.1');
 
  11         @define('CONST_Path_Postgresql_Contrib', '/usr/share/postgresql/'.CONST_Postgresql_Version.'/contrib');
 
  12         @define('CONST_Path_Postgresql_Postgis', CONST_Path_Postgresql_Contrib.'/postgis-1.5');
 
  13         @define('CONST_Osm2pgsql_Binary', CONST_BasePath.'/osm2pgsql/osm2pgsql');
 
  14         @define('CONST_Osmosis_Binary', CONST_BasePath.'/osmosis-0.40.1/bin/osmosis');
 
  17         @define('CONST_ClosedForIndexing', false);
 
  18         @define('CONST_ClosedForIndexingExceptionIPs', '');
 
  19         @define('CONST_BlockedIPs', '');
 
  20         @define('CONST_BulkUserIPs', '');
 
  22         @define('CONST_Website_BaseURL', 'http://'.php_uname('n').'/');
 
  23         @define('CONST_Tile_Default', 'Mapnik');
 
  25         @define('CONST_Default_Language', 'xx');
 
  26         @define('CONST_Default_Lat', 20.0);
 
  27         @define('CONST_Default_Lon', 0.0);
 
  28         @define('CONST_Default_Zoom', 2);
 
  30         @define('CONST_Search_AreaPolygons_Enabled', true);
 
  31         @define('CONST_Search_AreaPolygons', true);
 
  33         @define('CONST_Suggestions_Enabled', false);
 
  36         @define('CONST_Log_DB', true);
 
  37         @define('CONST_Log_File', false);
 
  38         @define('CONST_Log_File_Format', 'TODO'); // Currently hard coded
 
  39         @define('CONST_Log_File_SearchLog', '');
 
  40         @define('CONST_Log_File_ReverseLog', '');