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