Skip to content

Commit

Permalink
Merge pull request #3003 from SCADA-LTS/fix/#3002_Application_indepen…
Browse files Browse the repository at this point in the history
…dent_of_the_CATALINA_HOME_system_variable

#3002 Application independent of the CATALINA_HOME system variable:
  • Loading branch information
Limraj authored Sep 3, 2024
2 parents 82a18e9 + fdab761 commit d6481b7
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 d6481b7

Please sign in to comment.