[fusion-trac] #67: Determine Fusion's handling of relative paths for MapFiles

Fusion trac_fusion at osgeo.org
Thu Nov 27 10:11:54 EST 2008


#67: Determine Fusion's handling of relative paths for MapFiles
-------------------------+--------------------------------------------------
 Reporter:  jfournier    |         Owner:  pdeschamps
     Type:  enhancement  |        Status:  closed    
 Priority:  P1           |     Milestone:  2.0       
Component:  MapServer    |       Version:  1.0.6     
 Severity:  Critical     |    Resolution:  fixed     
 Keywords:               |   External_id:            
    State:  New          |       Browser:  All       
       Os:  All          |  
-------------------------+--------------------------------------------------
Changes (by pdeschamps):

  * status:  assigned => closed
  * resolution:  => fixed

Comment:

 added mapfileroot to config.json.

 With a file_exists call LoadMap.php now looks first for a path relative
 from the fusion root by default. If mapfileroot is specified in
 config.json it will try that specified path with a file_exists call as
 well, If both of these fail then it uses an absolute path. (for backwards
 compatibility)

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/67#comment:3>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list