I was ferretting around in the Administrator objec...
# lucee
a
I was ferretting around in the Administrator object (and server scope) for a way to resolve
{lucee-config}
to an actual file system path. Reason: the logging info one gets from
Administrator.getLogSettings
lists the log paths as - eg -
{lucee-config}/logs/exception.log
. Which is lovely, but about as useful as a chocolate teapot if I want to actually access the file. Anyone know how to get the value of
{lucee-config}
? And for bonus points:
{lucee-server}
and
{lucee-web}
, which are also used as placeholders in various other settings. This seems to be obvious functionality for Administrator, given it uses these values so much..? Cheers.
t
expandpath("{lucee-config}")
although in the webcontext that will be different from the server context
a
Haha, I did not even think to RTFM assuming it would be a fool's errand
That'll learn me.
Cheers pal!