[Chameleon-dev] [Bug 323] [Chameleon] MapFile path in index.phtml required to be absolute
Tue, 23 Mar 2004 18:23:15 -0500

------- Additional Comments From  2004-03-23 18:23 -------
I debugged that stuff with Jason. What happens is that if you pass a relative
path to a mapfile when you initialize your chameleon app (e.g. ../map/,
then you end up with $szMapFilePath equal to "../map", and the test on
is_dir($szMapFilePath) may fail.  Even if it didn't fail, you may still have
problems in the call to ms_newMapObj($szMapFile, $szMapFilePath) if you pass it
a relative path.

The solution: have chameleon turn the mapfile path into an absolute path when
you load the mapfile initially, and use the absolute path to set $szMapFilePath

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

This archive was generated by Pipermail.