I can't think of anything off the top my head. You may want to keep them in a directory that is non web accessible.
Sent from my mobile doohickey On 03/04/2014 4:25 AM, "Alan Bullpitt" <[email protected]> wrote: > The issue is with cfinclude in Coldfusion 11. By default you can no longer > include any files except CFM files. Transfer includes '.transfer' files. > This can be overwritten in the coldfusion server file neo-runtime.xml as > outlined here > https://wikidocs.adobe.com/wiki/display/coldfusionen/New+in+ColdFusion#NewinColdFusion-Restrictions > . > However even after including .transfer files in the allowed list the > application still broke. It seems to read the file in as a string rather > than including the required functions. To get around this I updated the > getDefinitionFileName function in the following 2 files > /transfer/com/dynamic/ObjectWriter.cfc > and /transfer/com/dynamic/DecorateWriter.cfc. Instead of creating a > .transfer file I changed it to create a .transfer.cfm file. Including a CFM > file works as originally designed. > > > *DecoratorWriter.cfc* > > <cffunction name="getDefinitionFileName" hint="Creates the name that the > file defition will be saved under" access="public" returntype="string" > output="false"> > <cfargument name="object" hint="BO of the Object" > type="transfer.com.object.Object" required="Yes"> > <cfscript> > //use the @ symbol to diffentiate between a transferObject and a Decorator. > return arguments.object.getClassName() & "@" & arguments.object.getHash() > & ".transfer.cfm"; > </cfscript> > </cffunction> > > *ObjectWriter.cfc* > > <cffunction name="getDefinitionFileName" hint="Creates the name that the > file defition will be saved under" access="public" returntype="string" > output="false"> > <cfargument name="object" hint="BO of the Object" > type="transfer.com.object.Object" required="Yes"> > <cfscript> > //used the $ symbol to look like UDF & CFC Java class name. > return arguments.object.getClassName() & "$" & arguments.object.getHash() > & ".transfer.cfm"; > </cfscript> > </cffunction> > > *Mark* is their any issue with saving these files as CFM files? > > -- > -- > Before posting questions to the group please read: > > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer > > Try out the new Transfer ORM Custom Google Search: > http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 > > You received this message because you are subscribed to the Google Groups > "transfer-dev" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/transfer-dev?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "transfer-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Try out the new Transfer ORM Custom Google Search: http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en --- You received this message because you are subscribed to the Google Groups "transfer-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
