Skip to content

Commit

Permalink
#3002 Application independent of the CATALINA_HOME system variable:
Browse files Browse the repository at this point in the history
- user jvm parameter catalina.home by System.getProperty;
  • Loading branch information
Limraj committed Aug 29, 2024
1 parent c07ab81 commit fdab761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/scada_lts/utils/UploadFileUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fdab761

Please sign in to comment.