X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/26bc83c9844ceba531837bfed79cd51b12a6b45a..13291274e73e1d2fc3582e49fd635f92a9b061e1:/utils/setup.php?ds=inline 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,