> There should be no hard coded /farcry in reference to the web server
> mapping that defaults to /farcry. This should be referenced throughout
> the code base as #application.url.farcry#. You can change this to what
> you like eg localhost/farcry, localhost/admin, localhost/anyothername

A couple of examples in the current build (unless something changed between
Beta3 and Release) of why I am confused:

farcry_core\admin\Application.cfm:

<cfinclude template="/farcry/apps.cfm">
<cfinclude template="/farcry/#stapps..../Application.cfm">

farcry_core\admin\login.cfm:

<cfinclude template="/farcry/...../customadmin/login.cfm">
(which I will take responsibility for)

farcry_core\admin\OnRequestEnd.cfm:

<cfinclude template="/farcry/apps.cfm">
<cfinclude template="/farcry/...../OnRequestEnd.cfm">

(and lots of other places - as well as some <CFMODULE> calls - I just did a
search for:  template="/farcry  to find them)

Surely, if I change my web server mapping (not the CFMX mapping) to be
something other than "/farcry" wont all that code break or will the CFMX
mapping (that stays /farcry) take care of it ?


Regards,
Gary




> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Brendan
> Sisson
> Sent: Friday, 23 January 2004 12:04 PM
> To: FarCry Developers
> Subject: [farcry-dev] Re: AW: Re: Mapping
>
>
> Gary Menzel wrote:
> > Forgive my ignorance on this, but how does all the <CFINCLUDE> and
> > <CFMODULE> stuff that relies on /farcry work?
>
>
> The /farcry you are refering is the cfmx mapping that points to the
> directory that contains farcry_core and fourq. It has to named farcry as
> you cannot use variables inside the cfimport tag as it has to know the
> contents of the tag library at compile-time.
>
> There should be no hard coded /farcry in reference to the web server
> mapping that defaults to /farcry. This should be referenced throughout
> the code base as #application.url.farcry#. You can change this to what
> you like eg localhost/farcry, localhost/admin, localhost/anyothername
>
> -Brendan
> http://farcry.daemon.com.au
>
> ---
> You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
>
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to