X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/65ee7a80025fae93287960a6cb1f4026f99cd7f3..1b95ec559166ce4fbbed0c79a81964b5e96684df:/lib/setup/SetupClass.php diff --git a/lib/setup/SetupClass.php b/lib/setup/SetupClass.php index 385eff70..cd620902 100755 --- a/lib/setup/SetupClass.php +++ b/lib/setup/SetupClass.php @@ -694,6 +694,44 @@ class SetupFunctions $this->removeFlatnodeFile(); } + /** + * Setup settings-frontend.php in the build/website directory + * + * @return null + */ + public function setupWebsite() + { + $rOutputFile = fopen(CONST_InstallPath.'/settings/settings-frontend.php', 'w'); + + fwrite($rOutputFile, "