You are incorrect.  The entire idea of the shared directories is to be able
to put the FB and other scripting files out of the web root.

I usually have mine set up as
scripts
        _Controller
        _Model
        _View
        FBCore
wwwroot
        images
        css

In wwwroot/index.cfm I have the following setup
<cfset FUSEBOX_APPLICATION_PATH = "../scripts/FBCore/">

in fusebox.xml (located in scripts/FBCore/fusebox.xml, I setup up my circuit
files  as
<circuit alias="public" path="../_Controller/public/" parent="" />

Basically the scripts need to be relative to the Core files, but they don't
need to be in the same exact spot. So core files can be setup to be shared
with several FB applications and the applications themselves can be out of
the webroot, thus enhancing security.

HTH
Sandy Clark

-----Original Message-----
From: Damien McKenna [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 10, 2006 12:26 PM
To: Fusebox
Subject: FB 4.1 bug? loader.cfmx, line:206

I was setting up a new Fusebox 4.1 site from scratch, having not touched
FB4 in a few months.  As part of a migration towards FB4.1 I decided to put
the FB files in a shared directory, to make life easier.  After uploading
everything, along with a few test pages in my site, I got the "missing
fusebox.xml" error.  I decided to track down the error and discovered what I
thought might be an error in how I thought FB worked.
Here are the lines in question:

<cffile
action="READ"
file="#fb_.application.fusebox.approotdirectory##fb_.fuseboxXMLfile#"
variable="fb_.FuseboxXMLcode">

It was my understanding that when fusebox was loading the fusebox.xml file
that this file should be in the website's root directory, i.e.
fb_.application.fusebox.webrootdirectory, rather than in the shared fusebox
directory?  There are other examples of this variable through the loader
file where I would have thought that webrootdirectory should have been used
instead.

So is my understanding incorrect or is this a bug in Fusebox?  If I am
incorrect, why bother being able to put the core Fusebox files outside of
the site directory when you're just going to put the XML files there too,
defeating the purpose of having the core files shared?

Thanks.

--
Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu
Company - http://www.thelimucompany.com/ - 407-804-1014 #include <stdjoke.h>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6859
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/12
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:12
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to