diff --git a/looks/src/org/compiere/util/Ini.java b/looks/src/org/compiere/util/Ini.java index 93ebb796da..bb43e51cbf 100644 --- a/looks/src/org/compiere/util/Ini.java +++ b/looks/src/org/compiere/util/Ini.java @@ -207,6 +207,9 @@ public final class Ini implements Serializable /** Container for Properties */ private static Properties s_prop = new Properties(); + + private static String s_propertyFileName = null; + /** Logger */ private static Logger log = Logger.getLogger(Ini.class.getName()); @@ -311,6 +314,8 @@ public final class Ini implements Serializable saveProperties(true); s_loaded = true; log.info(filename + " #" + s_prop.size()); + s_propertyFileName = filename; + return firstTime; } // loadProperties @@ -780,4 +785,9 @@ public final class Ini implements Serializable { return isPropertyBool(P_SERVER_VALIDATE_SECURITY_TOKEN); } + + public static String getPropertyFileName() + { + return s_propertyFileName; + } } // Ini