X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/66adbf6a055c877a82fce52767bed7094d0f73a9..203b5f7de12ca09d275103eb2eb70fe5a4c20466:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php index a7f77e55..e2810737 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -596,6 +596,7 @@ if ($aCMDResult['create-search-indices'] || $aCMDResult['all']) { $bDidSomething = true; $sTemplate = file_get_contents(CONST_BasePath.'/sql/indices.src.sql'); + $sTemplate = str_replace('{www-user}', CONST_Database_Web_User, $sTemplate); $sTemplate = replace_tablespace( '{ts:address-index}', CONST_Tablespace_Address_Index,