I have a legacy application that consists of multiple individual applications. There’s a root folder and each application resides in its individual subfolder. To share functionality each application inherits from a central
Application.cfc after a pattern introduced by Ben Nadel.
To use this site under
Lucee I use
commandbox. I call
start and navigate to the subfolder.
I get error:
Component [site1.Application] has no accessible Member with name [WEBROOT]
This code, however, works in ACF. I have no Lucee server running so I cannot say if it’s an issue with Lucce or with the way Commandbox handles Lucee.
I put the relevant files in a Gist
Does Lucee handle includes differently than ACF and does therefore not accept a parent setup like I described?