X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3db64e79136a486533730d23ef4fe854b0ec85fa..5d7bd37ab22be5e9aa37509e905ce43bd48500a3:/utils/specialphrases.php diff --git a/utils/specialphrases.php b/utils/specialphrases.php index 13480695..020f5f80 100755 --- a/utils/specialphrases.php +++ b/utils/specialphrases.php @@ -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']) { @@ -105,7 +105,7 @@ 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"; }