public static String getProperty(String key) { if (properties == null) { properties = new LiveProperties( new File(weaveContextParams.getConfigPath(), "config.properties"), MapUtils.<String, String>fromPairs(ALLOW_R_SCRIPT_ACCESS, "false")); } return properties.getProperty(key); }
public static String getDocrootPath() { return weaveContextParams.getDocrootPath(); }
public static String getConnectionConfigFilePath() { return weaveContextParams.getConfigPath() + "/" + ConnectionConfig.XML_FILENAME; }
public static String getUploadPath() { return weaveContextParams.getUploadPath(); }