[Commits] r1989 - sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples

commits at geoext.org commits at geoext.org
Wed Mar 17 13:41:33 CET 2010


Author: adube
Date: 2010-03-17 13:41:33 +0100 (Wed, 17 Mar 2010)
New Revision: 1989

Added:
   sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/proxy.php
Modified:
   sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.js
   sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js
Log:
wmslayeradder - small php proxy added

Modified: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.js	2010-03-17 10:52:48 UTC (rev 1988)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.js	2010-03-17 12:41:33 UTC (rev 1989)
@@ -1,6 +1,6 @@
 var WMSLayerAdder, mapPanel;
 
-//OpenLayers.ProxyHost = "./proxy.py?url=";
+OpenLayers.ProxyHost = "./proxy.php?url=";
 
 Ext.onReady(function() {
 

Modified: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js	2010-03-17 10:52:48 UTC (rev 1988)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js	2010-03-17 12:41:33 UTC (rev 1989)
@@ -1,6 +1,6 @@
 var WMSLayerAdder, mapPanel, layerAdderWindow, tree;
 
-//OpenLayers.ProxyHost = "./proxy.py?url=";
+OpenLayers.ProxyHost = "./proxy.php?url=";
 
 Ext.onReady(function() {
 

Added: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/proxy.php
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/proxy.php	                        (rev 0)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/proxy.php	2010-03-17 12:41:33 UTC (rev 1989)
@@ -0,0 +1,4 @@
+<?php
+header("Content-type: text/xml");
+readfile($_REQUEST['url']);
+?>


Property changes on: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/proxy.php
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native



More information about the Commits mailing list