seems like the only problem with using the
<cfset
request.imgdir=listappend(request.imgdir,listlast(trim(getdirectoryfrompath(getcurrenttemplatepath())),"\"),"/")>
is when you aren't using the same-named global
variables. You (or someone else) is writing an
application with the img dir in request.path.images
and
then the code in the app_locals bombs out. Just
2cents.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists