From 7af86a2af952706e72bf834ebe1fbaebd4667159 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 26 Mar 2010 23:31:11 +0000 Subject: [PATCH] peer review 11821 / FR [2977050] - Read ADEMPIERE_HOME from web.xml Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2977050 --- base/src/org/compiere/util/Ini.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/util/Ini.java b/base/src/org/compiere/util/Ini.java index 8843f9351a..917ffcbb7e 100644 --- a/base/src/org/compiere/util/Ini.java +++ b/base/src/org/compiere/util/Ini.java @@ -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();