]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/specialphrases.php
switch remaining GRANTs to configurable web user
[nominatim.git] / utils / specialphrases.php
index 13480695d5b806b69c6c9861b58e3991e208f20d..97b60dde39e974f15d24159061aadac2072bb1c9 100755 (executable)
                                echo " tablespace ".CONST_Tablespace_Aux_Index;
                        echo ";\n";
 
-            echo "GRANT SELECT ON place_classtype_".pg_escape_string($aPair[0])."_".pg_escape_string($aPair[1])." TO \"www-data\";\n";
+            echo "GRANT SELECT ON place_classtype_".pg_escape_string($aPair[0])."_".pg_escape_string($aPair[1]).' TO "'.CONST_Database_Web_User."\";\n";
 
                }