From 241e4af1b0c2706f334d2380fb1d0905f9818cd9 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 18 Jul 2020 11:00:17 +0200 Subject: [PATCH] log file is a string when not set to false --- lib/setup/SetupClass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/setup/SetupClass.php b/lib/setup/SetupClass.php index 0ffb9f35..8da0b106 100755 --- a/lib/setup/SetupClass.php +++ b/lib/setup/SetupClass.php @@ -715,7 +715,7 @@ if (file_exists(getenv('NOMINATIM_SETTINGS'))) require_once(getenv('NOMINATIM_SE @define('CONST_Map_Tile_URL', '".CONST_Map_Tile_URL."'); @define('CONST_Map_Tile_Attribution', '".CONST_Map_Tile_Attribution."'); // Set if tile source isn't osm.org @define('CONST_Log_DB', ".(CONST_Log_DB ? 'true' : 'false')."); -@define('CONST_Log_File', ".(CONST_Log_File ? 'true' : 'false')."); +@define('CONST_Log_File', ".(CONST_Log_File ? ("'".CONST_Log_File."'") : 'false')."); @define('CONST_Max_Word_Frequency', '".CONST_Max_Word_Frequency."'); @define('CONST_NoAccessControl', ".CONST_NoAccessControl."); @define('CONST_Places_Max_ID_count', ".CONST_Places_Max_ID_count."); -- 2.39.5