]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/setup.php
Merge branch 'better-reverse' of https://github.com/gemo1011/Nominatim into gemo1011...
[nominatim.git] / utils / setup.php
index a7f77e557c823eb1a42aed0284827793f936543d..e2810737f6f2bb46da2ca46e98c345afdaa8c418 100755 (executable)
@@ -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,