diff --git a/src/org/scada_lts/utils/UploadFileUtils.java b/src/org/scada_lts/utils/UploadFileUtils.java index 3e9e37bb3..65c908a07 100644 --- a/src/org/scada_lts/utils/UploadFileUtils.java +++ b/src/org/scada_lts/utils/UploadFileUtils.java @@ -431,7 +431,7 @@ public static String normalizeSeparator(String path) { } private static Path basePath() { - String catalinaHome = System.getenv("CATALINA_HOME"); + String catalinaHome = System.getProperty("catalina.home"); return Paths.get(catalinaHome); }