From: Sarah Hoffmann Date: Sat, 18 Jul 2020 09:00:17 +0000 (+0200) Subject: log file is a string when not set to false X-Git-Tag: v3.6.0~110^2~1 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/241e4af1b0c2706f334d2380fb1d0905f9818cd9 log file is a string when not set to false --- 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.");