reenable debug parameter

The parameter got lost when switching to website settings.
Given that the use of a fixed parameter is limited,
debugging output can now only be set via the URL parameter.
This commit is contained in:
Sarah Hoffmann
2020-07-08 08:32:46 +02:00
parent 7ecfcf7eaa
commit d364afdf3b
3 changed files with 2 additions and 3 deletions

View File

@@ -707,7 +707,6 @@ class SetupFunctions
@define('CONST_BasePath', '".CONST_BasePath."');
if (file_exists(getenv('NOMINATIM_SETTINGS'))) require_once(getenv('NOMINATIM_SETTINGS'));
@define('CONST_Debug', ". (CONST_Debug? 'true' : 'false').");
@define('CONST_Database_DSN', '".CONST_Database_DSN."'); // or add ;host=...;port=...;user=...;password=...
@define('CONST_Default_Language', ".(CONST_Default_Language ? 'true' : 'false').");
@define('CONST_Default_Lat', ".CONST_Default_Lat.");