linux support

8 views
Skip to first unread message

mark m

unread,
Dec 9, 2006, 10:18:57 PM12/9/06
to cfpaypal
Several of your script make the assumption that the developer is using
Windows. I add this to the Application.cfm:

request.pathdelim = "/";

which should obviously be a backslash for Windows. I then modified
files that used the backslash and replaced them with request.pathdelim.
For instance Log.cfc has this updated line near the top:
variables.instance.logFile = request.config.getValue("logfolder") &
request.pathdelim & "cfpaypal.txt";

It also affected Config.cfc--not sure if there were other files.
Anyway, these changes allowed me to run the scripts on linux.

Mark

Reply all
Reply to author
Forward
0 new messages