diff --git a/_historic/wwII-ug.zmp/GetUrlScript.txt b/_historic/wwII-ug.zmp/GetUrlScript.txt index 412fe3eb..bc1dc926 100644 --- a/_historic/wwII-ug.zmp/GetUrlScript.txt +++ b/_historic/wwII-ug.zmp/GetUrlScript.txt @@ -1,3 +1,6 @@ +var +url: string; begin - ResultURL:=GetURLBase+inttostr(getz-1)+'/'+inttostr(gety)+'/'+inttostr(getx)+'.jpg&path1=/mnt/HD/HD_a2/pub/historic/wwii-ug/z'+inttostr(getz-1)+'/'+inttostr(gety)+'/'+inttostr(getx)+'.jpg&name='+inttostr(getx)+'.jpg&type=JPEG+Image&browser=iee)'; -end. + url := RegExprReplaceMatchSubStr(GetURLBase, '8082', inttostr(8084 + Random(8) )); + ResultURL:=URL+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'.jpg'; +end. \ No newline at end of file diff --git a/_historic/wwII-ug.zmp/params.txt b/_historic/wwII-ug.zmp/params.txt index 13da3ec0..955d2b37 100644 --- a/_historic/wwII-ug.zmp/params.txt +++ b/_historic/wwII-ug.zmp/params.txt @@ -8,7 +8,7 @@ ParentSubMenu= ParentSubMenu_en=Historic ParentSubMenu_uk=Історичні asLayer=0 -DefURLBase=http://91.237.82.95:8080/cgi-bin/webfile_mgr.cgi?cmd=cgi_download&path=/mnt/HD/HD_a2/pub/historic/wwii-ug/z +DefURLBase=http://91.237.82.95:8082/wwii-ug/ projection=1 sradiusa=6378137 sradiusb=6378137