Show
Ignore:
Timestamp:
11/06/06 15:14:58 (2 years ago)
Author:
scorfield
Message:

Addresses #139 by adding a new attribute, relative=, to the <circuit> declaration in fusebox.xml and,
in strict mode, validating path= and throwing an exception if it is "/absolute/" rather than "relative/".
The default behavior is compatibile with Fusebox 5.0.0 and earlier releases.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • framework/trunk/skeleton/fusebox.xml.cfm

    r203 r266  
    77<fusebox> 
    88        <circuits> 
     9                <!-- illustrates defaults for parent ("") and relative ("true") --> 
    910                <circuit alias="m" path="model/" parent="" /> 
    1011                <circuit alias="v" path="views/" parent="" /> 
    11                 <circuit alias="app" path="controller/" parent="" /> 
     12                <circuit alias="app" path="controller/" relative="true" /> 
    1213        </circuits> 
    1314 
     
    2122                <!-- change this to something more secure: --> 
    2223                <parameter name="password" value="skeleton" /> 
     24                <parameter name="strictMode" value="true" /> 
    2325                <!-- 
    2426                        These are all default values that can be overridden: