X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6c406124dd416ec62fc2ce0a4d07d597d3ae53f3..1889643eca5754664da106665f3826960858eccf:/lib/setup/SetupClass.php diff --git a/lib/setup/SetupClass.php b/lib/setup/SetupClass.php index 38776a12..16c48729 100755 --- a/lib/setup/SetupClass.php +++ b/lib/setup/SetupClass.php @@ -695,17 +695,13 @@ class SetupFunctions } /** - * Setup settings_test.php in the build/settings directory from build/.env file + * Setup settings-frontend.php in the build/website directory * * @return null */ public function setupWebsite() { - $rOutputFile = fopen(CONST_InstallPath.'/settings/settings-frontend.php', 'w'); - - // Currently using CONST_BasePath and CONST_InstallPath. - // Once dotenv is setup, getenv() can be used, or another - // alternate option is to build settings_test.php using cmake. + $rOutputFile = fopen(CONST_InstallPath.'/website/settings-frontend.php', 'w'); fwrite($rOutputFile, "