Thanks. I already corrected the inconsistent namings in version 1.1.0 
and in the development version of pmapper 2.

Armin

Walter Lorenzetti wrote:
> hi all, hi Armin
> 
> working on pmapper2 () (i hope the last version)
> i find a bug on incons legend generation
> 
> After a modification on file map as a add a new layer
> i didn't find the new icon on the legend
> 
> so watching initmap.php i find this at line 277:
> 
> $mapfile_mtime = filemtime($this->mapFile);
>             $imglogfile_mtime = filemtime($legPath.'createimg.log');
>             if ($this->mapfile_mtime > $imglogfile_mtime) {
>                 $writeNew = 1;
>            }
> 
> so i ghange it like this:
> 
> $mapfile_mtime = filemtime($this->mapfile);
>             $imglogfile_mtime = filemtime($legPath.'createimg.log');
>             if ($mapfile_mtime > $imglogfile_mtime) {
>                 $writeNew = 1;
>            }
> 
>  i found another bug in init.php
> the variable $mapFile was written in bad manner
> in line 7 :
> $initMap = new Init_map($map, $mapfile, $ini, $gLanguage);
> 
> instead of
> 
> $initMap = new Init_map($map, $mapFile, $ini, $gLanguage);
> 
> I hope that this bug fix can you help
> 
> Bye
> Walter
> 

Reply via email to