diff --git a/core/src/main/java/lucee/runtime/config/ConfigWebFactory.java b/core/src/main/java/lucee/runtime/config/ConfigWebFactory.java index f238e9a9c5..c5c70b7304 100644 --- a/core/src/main/java/lucee/runtime/config/ConfigWebFactory.java +++ b/core/src/main/java/lucee/runtime/config/ConfigWebFactory.java @@ -2899,6 +2899,8 @@ else if (hasCS) { } else { String strDoCTDeepSearch = getAttr(root, "customTagDeepSearch"); + if (StringUtil.isEmpty(strDoCTDeepSearch, true)) strDoCTDeepSearch = getAttr(root, "customTagSearchSubdirectories"); + if (hasAccess && !StringUtil.isEmpty(strDoCTDeepSearch)) { config.setDoCustomTagDeepSearch(Caster.toBooleanValue(strDoCTDeepSearch.trim(), false)); }