X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1d7ed6737e1351a5ca25af485c7e51a757649d92..ec6a427e0a7272445c992f6f046ae8cb5f5a534d:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php index 259ddf2d..4925a4e5 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,