svn commit: r169 - trunk/mapbender/http/javascripts/map.php
uli at osgeo.org
uli at osgeo.org
Wed May 3 10:28:01 EDT 2006
Author: uli
Date: 2006-05-03 14:28:01+0000
New Revision: 169
Modified:
trunk/mapbender/http/javascripts/map.php
Log:
owsproxy handling modified
function removed
Modified: trunk/mapbender/http/javascripts/map.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/map.php?view=diff&rev=169&p1=trunk/mapbender/http/javascripts/map.php&p2=trunk/mapbender/http/javascripts/map.php&r1=168&r2=169
==============================================================================
--- trunk/mapbender/http/javascripts/map.php (original)
+++ trunk/mapbender/http/javascripts/map.php 2006-05-03 14:28:01+0000
@@ -58,7 +58,7 @@
var mb_security_proxy = "http://wms1.ccgis.de/mapbender/tools/security_proxy.php?mb_ows_security_proxy=";
<?php
-echo "var mb_nr = '".SID."';";
+echo "var mb_nr = '".session_id()."';";
echo "var mb_myLogin = '".$_SESSION["mb_login"]."';";
echo "var mb_styleID = '".md5($_SESSION["mb_user_name"])."';";
echo "var mb_myBBOX = '".$_SESSION["mb_myBBOX"]."';";
@@ -71,7 +71,6 @@
function init(){
- var tmp = setOwsproxy();
for(var i=0; i<mb_InitFunctions.length; i++){
eval(mb_InitFunctions[i]);
}
@@ -79,12 +78,6 @@
setMapRequest(mb_mapObj[i].frameName);
}
}
-function setOwsproxy(){
- for(var i=0; i<wms.length; i++){
- if(wms[i].wms_getmap.indexOf("http") != 0){ wms[i].wms_getmap = owsproxy + "/" + mb_nr + "/" + wms[i].wms_getmap;}
- }
- return true;
-}
/*registerFunctions*/
function mb_registerInitFunctions(stringFunction){
mb_InitFunctions[mb_InitFunctions.length] = stringFunction;
More information about the Mapbender_commits
mailing list