Re: [pmapper-users] problems with relative path in mapfile
Brought to you by:
arminburger
From: Armin B. <arm...@gm...> - 2010-12-13 18:23:05
|
just use an absolute path and you're done. otherwise change core code to use file name resolution with PHP function realpath(). armin On 13/12/2010 10:43, Fco. Javier García Ricca wrote: > Hello, > > In my application all work fine with relative path in mapfile but when I try > to export the map to geotiff I get the next error: > > [13-Dec-2010 10:37:20] PHP Warning: > readfile(../../../ms_tmp/18c6hpup5imb6vqlva3f950585.tif) [<a > href='function.readfile'>function.readfile</a>]: failed to open stream > > If I change the relative path by the fullpath I can export to geotiff > correctly. > > Is possible to solve this problem and put the relative path to the > IMAGEAPTH? How? > |