Skip to content

Commit

Permalink
LDEV-5043 - allow sub structure as struct or "css" in format, but wri…
Browse files Browse the repository at this point in the history
…te out as struct
  • Loading branch information
michaeloffner committed Jul 25, 2024
1 parent 2645f97 commit 6f393c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/lucee/runtime/config/ConfigWebFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ private static void _loadAI(ConfigServerImpl configServer, ConfigImpl config, St

// we only load this for the server context
if (hasCS) return;
Struct ai = ConfigWebUtil.getAsStruct(root, "ai");
Struct ai = ConfigWebUtil.getAsStruct(root, false, "ai");
if (ai != null) {

ClassDefinition<AIEngine> cd;
Expand Down Expand Up @@ -4281,7 +4281,7 @@ private static void _loadJavaSettings(ConfigServerImpl configServer, ConfigImpl
try {
if (config instanceof ConfigServerImpl) {
ConfigServerImpl csi = (ConfigServerImpl) config;
Struct javasettings = ConfigWebUtil.getAsStruct(root, "javasettings");
Struct javasettings = ConfigWebUtil.getAsStruct(root, false, "javasettings");

if (javasettings != null && javasettings.size() > 0) {
JavaSettings js = JavaSettingsImpl.getInstance(config, javasettings);
Expand Down

0 comments on commit 6f393c8

Please sign in to comment.