Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: Flash Builder cannot find cfc

$
0
0

Looks like my CGI.http_host in MAC is localhost not localhost/~myName/.

So if I set the source for the remote object as: "~myName.CFtest1.cfcs.users" it works.

I like to setup all my  variables in the application.cfc so when I move my project to my windows server i don't have to change paths.

For example listLast(getDirectoryFromPath(getCurrentTemplatePath()), "\"); reads fine in windows but in mac i have to change the "\" for "/".

It is a way to check in application.cfc if i am in MAC or windows?

How can I get my webserver variable in mac as localhost/~myName/?

Thanks


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>