> <cfif fileExists(expandPath('./themes/templates.xml'))> > <cffile action="read" >file="#expandPath('./themes/templates.xml')#" variable="xTemplate"/> > <cfset APPLICATION.templates = xmlParse(xTemplate)/> > </cfif> >
Doesn't have anything to do with your problem I think, but if you're CF7+, you can drop the whole <cffile> read, and just xmlParse() the file itself. Will ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311963 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4