src/csip/Config.java
@@ -140,7 +140,7 @@ |
/* |
The CSIP version |
*/ |
- put(CSIP_VERSION, "$version: 2.1.175 9f770bae0a9d 2017-04-05 od, built at 2017-04-09 13:46 by od$"); |
+ put(CSIP_VERSION, "$version: 2.1.176 54532d51c311 2017-04-10 od, built at 2017-04-10 15:06 by od$"); |
|
/* |
* The runtime architecture. |
src/csip/ServletContextHooks.java
@@ -93,7 +93,7 @@ |
applyContextInitParams(ctx); |
|
File c = Services.getContextFile(ctx, ".json"); |
- if (c.exists()) { |
+ if (c != null) { |
try { |
ControlService.updateConfig(FileUtils.readFileToString(c)); |
l.info("Applied config '" + c + "'"); |
@@ -104,7 +104,7 @@ |
} |
} |
c = Services.getContextFile(ctx, ".properties"); |
- if (c.exists()) { |
+ if (c != null) { |
try { |
Properties p = new Properties(); |
p.load(new FileInputStream(c)); |