peer review 11821 / FR [2977050] - Read ADEMPIERE_HOME from web.xml

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2977050
This commit is contained in:
Carlos Ruiz 2010-03-26 23:31:11 +00:00
parent 704877109d
commit 7af86a2af9
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ public final class Ini implements Serializable
String env = System.getProperty (ENV_PREFIX + ADEMPIERE_HOME);
if (env == null)
env = System.getProperty (ADEMPIERE_HOME);
if (env == null) {
if (env == null && ! isClient()) {
InitialContext context;
try {
context = new InitialContext();