X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d364afdf3ba2c3b59498325c43128005ef361720..383fa4f34fae75a73fd892486f6e4b809467321f:/lib/setup/SetupClass.php diff --git a/lib/setup/SetupClass.php b/lib/setup/SetupClass.php index ea47e828..0ffb9f35 100755 --- a/lib/setup/SetupClass.php +++ b/lib/setup/SetupClass.php @@ -708,7 +708,7 @@ class SetupFunctions if (file_exists(getenv('NOMINATIM_SETTINGS'))) require_once(getenv('NOMINATIM_SETTINGS')); @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_Language', ".(CONST_Default_Language ? ("'".CONST_Default_Language."'") : 'false')."); @define('CONST_Default_Lat', ".CONST_Default_Lat."); @define('CONST_Default_Lon', ".CONST_Default_Lon."); @define('CONST_Default_Zoom', ".CONST_Default_Zoom.");