/bigthunder
But now it gives me:
/bigthunder\html\..
It looks like the expand path isn't quite working the same.
At 06:06 PM 11/4/2003 -0600, Bruce Dunwiddie wrote:
can you be just slightly more specific than "is broken"? what does it give you? does it cause an error? what's the error message?
Bruce Dunwiddie Ticket Technology P: 866.543.3331 F: 913.451.7832 [EMAIL PROTECTED]
-----Original Message----- From: Bradley Miller [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 5:43 PM To: [EMAIL PROTECTED] Subject: [KCFusion] Directory problem?
P> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Rcpt-To: <[EMAIL PROTECTED]> X-Virus-Scanned: by amavisd-new & H+BEDV AntiVir - Pandemic setup Precedence: bulk Sender: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED]
I'm having a problem on some code I've migrated from CF 4.5 -> CF MX:
<CFSET #Root# = Left(GetTemplatePath(), FindNoCase(Replace(#CGI.SCRIPT_NAME#,"/","\","ALL"), GetTemplatePath()))>
<CFSET thisPath= ExpandPath("../*.*")> <CFSET thisDirectory= GetDirectoryFromPath(thisPath)>
<cfset directory_temp = Replace("#thisDirectory#", "#root#", "","ALL") > <cfset company_to_use = "/"&left("#directory_temp#",evaluate(len("#directory_temp#")-1))>
All I want is for this to give me:
/mycompany
from a path of:
/webroot/www.somewhere.com/mycompany/html/
It worked fine in CF4.5 but is broken in MX . . . any suggestions would be greatly appreciated~!!!!
-- Bradley Miller
========================================================= Kansas City ColdFusion User Group's website & listserv is hosted through the generous support of Clickdoug.com To send email to the list, email [EMAIL PROTECTED] To subscribe or unsubscribe, send an email to [EMAIL PROTECTED] with your request. For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1. ======================================================
=========================================================
Kansas City ColdFusion User Group's website & listserv is hosted through the generous support of Clickdoug.com
To send email to the list, email [EMAIL PROTECTED]
To subscribe or unsubscribe, send an email to [EMAIL PROTECTED] with your request.
For hosting solutions http://www.clickdoug.com
Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1. ======================================================
