X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/65ee7a80025fae93287960a6cb1f4026f99cd7f3..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, "