[Mapbender-commits] r4490 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Aug 5 09:55:31 EDT 2009


Author: christoph
Date: 2009-08-05 09:55:30 -0400 (Wed, 05 Aug 2009)
New Revision: 4490

Modified:
   trunk/mapbender/http/php/mod_updateWMS.php
Log:
removed "import request variables"

Modified: trunk/mapbender/http/php/mod_updateWMS.php
===================================================================
--- trunk/mapbender/http/php/mod_updateWMS.php	2009-08-05 13:55:03 UTC (rev 4489)
+++ trunk/mapbender/http/php/mod_updateWMS.php	2009-08-05 13:55:30 UTC (rev 4490)
@@ -17,9 +17,14 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-import_request_variables("PG");
 require_once(dirname(__FILE__)."/mb_validatePermission.php");
 require_once(dirname(__FILE__)."/../classes/class_wms.php"); 
+
+$selWMS = $_POST["selWMS"];
+$capURL = $_POST["capURL"];
+$myWMS = $_POST["myWMS"];
+$myURL = $_POST["myURL"];
+
 ?>
 <html>
 <head>
@@ -97,7 +102,7 @@
 	echo "<input type='button' value='Preview Capabilities' onclick='window.open(this.form.myURL.value,\"\",\"\")'>&nbsp;";
 	echo "<input type='button' value='Upload Capabilities' onclick='validate()'><br>";
 
-/**/
+
 if(isset($myURL) && $myURL != ''){
 
 	$mywms = new wms();



More information about the Mapbender_commits mailing list