]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/specialphrases.php
Merge pull request #381 from lonvia/cmake-port
[nominatim.git] / utils / specialphrases.php
index 13480695d5b806b69c6c9861b58e3991e208f20d..020f5f8004a283547185af43423d36b6e6208444 100755 (executable)
@@ -15,7 +15,7 @@
         );
         getCmdOpt($_SERVER['argv'], $aCMDOptions, $aCMDResult, true, true);
 
-               include(CONST_BasePath.'/settings/phrase_settings.php');
+               include(CONST_InstallPath.'/settings/phrase_settings.php');
 
 
     if ($aCMDResult['countries']) {
                                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";
 
                }