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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Dec 11 05:42:44 EST 2010


Author: tbaschetti
Date: 2010-12-11 02:42:44 -0800 (Sat, 11 Dec 2010)
New Revision: 7198

Modified:
   trunk/mapbender/http/php/mod_deleteFilteredGUI.php
   trunk/mapbender/http/php/mod_deleteGUI.php
   trunk/mapbender/http/php/mod_loadCapabilities.php
   trunk/mapbender/http/php/mod_loadCapabilitiesList.php
   trunk/mapbender/http/php/mod_loadCapabilities_temp.php
   trunk/mapbender/http/php/mod_loadCatalogCapabilities.php
   trunk/mapbender/http/php/mod_loadCatalogToGUI.php
   trunk/mapbender/http/php/mod_loadWFSCapabilities.php
   trunk/mapbender/http/php/mod_newGui.php
   trunk/mapbender/http/php/mod_orphanWMS.php
   trunk/mapbender/http/php/mod_printView1.php
   trunk/mapbender/http/php/mod_showGuiName.php
   trunk/mapbender/http/php/mod_showLoggedUser.php
   trunk/mapbender/http/php/mod_treefolderAdmin.php
   trunk/mapbender/http/php/mod_user_filteredGroup.php
   trunk/mapbender/http/php/mod_user_filteredGui.php
   trunk/mapbender/http/php/mod_user_group.php
   trunk/mapbender/http/php/mod_user_gui.php
   trunk/mapbender/http/php/mod_zoomCoords_en.php
   trunk/mapbender/http/php/nestedSets.php
Log:
change position of require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");

Modified: trunk/mapbender/http/php/mod_deleteFilteredGUI.php
===================================================================
--- trunk/mapbender/http/php/mod_deleteFilteredGUI.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_deleteFilteredGUI.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,10 +21,11 @@
 /*  
  * @security_patch irv open 
  */ 
-security_patch_log(__FILE__,__LINE__); 
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
+security_patch_log(__FILE__,__LINE__);
 import_request_variables("PG"); 
 $e_id="delete_filteredGui";
-require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
+
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
 
 $admin = new administration();

Modified: trunk/mapbender/http/php/mod_deleteGUI.php
===================================================================
--- trunk/mapbender/http/php/mod_deleteGUI.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_deleteGUI.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,11 +21,12 @@
 /*  
  * @security_patch irv open 
  */ 
-security_patch_log(__FILE__,__LINE__); 
+
 import_request_variables("PG"); 
 $e_id="deleteGui";
 require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
+security_patch_log(__FILE__,__LINE__); 
 ?>
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: trunk/mapbender/http/php/mod_loadCapabilities.php
===================================================================
--- trunk/mapbender/http/php/mod_loadCapabilities.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_loadCapabilities.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -20,11 +20,12 @@
 
 /*  
  * @security_patch irv open 
- */ 
+ */
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="loadWMS";
-require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>

Modified: trunk/mapbender/http/php/mod_loadCapabilitiesList.php
===================================================================
--- trunk/mapbender/http/php/mod_loadCapabilitiesList.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_loadCapabilitiesList.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -20,11 +20,12 @@
 
 /*  
  * @security_patch irv open 
- */ 
+ */
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="loadWMSList";
-require(dirname(__FILE__)."/../php/mb_validatePermission.php");
+
 ?>
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: trunk/mapbender/http/php/mod_loadCapabilities_temp.php
===================================================================
--- trunk/mapbender/http/php/mod_loadCapabilities_temp.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_loadCapabilities_temp.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -20,10 +20,11 @@
 
 /*  
  * @security_patch irv open 
- */ 
+ */
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
-include(dirname(__FILE__)."/../php/mb_validateSession.php");
+
 require_once(dirname(__FILE__)."/mb_validateInput.php");
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: trunk/mapbender/http/php/mod_loadCatalogCapabilities.php
===================================================================
--- trunk/mapbender/http/php/mod_loadCatalogCapabilities.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_loadCatalogCapabilities.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -22,10 +22,11 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="loadCSW";
-require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>

Modified: trunk/mapbender/http/php/mod_loadCatalogToGUI.php
===================================================================
--- trunk/mapbender/http/php/mod_loadCatalogToGUI.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_loadCatalogToGUI.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -20,11 +20,12 @@
 
 /*  
  * @security_patch irv open 
- */ 
+ */
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="loadCSWGUI";
-require(dirname(__FILE__)."/../php/mb_validatePermission.php");
+
 ?>
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: trunk/mapbender/http/php/mod_loadWFSCapabilities.php
===================================================================
--- trunk/mapbender/http/php/mod_loadWFSCapabilities.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_loadWFSCapabilities.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -20,11 +20,12 @@
 
 /*  
  * @security_patch irv open 
- */ 
+ */
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="loadWFS";
-require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
+
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: trunk/mapbender/http/php/mod_newGui.php
===================================================================
--- trunk/mapbender/http/php/mod_newGui.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_newGui.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,10 +21,11 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="newGui";
-require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 

Modified: trunk/mapbender/http/php/mod_orphanWMS.php
===================================================================
--- trunk/mapbender/http/php/mod_orphanWMS.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_orphanWMS.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,10 +21,11 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="orphanWMS";
-require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
+
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: trunk/mapbender/http/php/mod_printView1.php
===================================================================
--- trunk/mapbender/http/php/mod_printView1.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_printView1.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -20,10 +20,11 @@
 
 /*  
  * @security_patch irv open 
- */ 
+ */
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
-require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+
 include(dirname(__FILE__)."/../../conf/print.conf");
 Mapbender::session()->set("mb_print_url",$map_url);
 Mapbender::session()->set("mb_print_resolution",$quality);

Modified: trunk/mapbender/http/php/mod_showGuiName.php
===================================================================
--- trunk/mapbender/http/php/mod_showGuiName.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_showGuiName.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,9 +21,10 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
-require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>

Modified: trunk/mapbender/http/php/mod_showLoggedUser.php
===================================================================
--- trunk/mapbender/http/php/mod_showLoggedUser.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_showLoggedUser.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,9 +21,10 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
-require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>

Modified: trunk/mapbender/http/php/mod_treefolderAdmin.php
===================================================================
--- trunk/mapbender/http/php/mod_treefolderAdmin.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_treefolderAdmin.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -23,9 +23,10 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
-require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
 <HTML>

Modified: trunk/mapbender/http/php/mod_user_filteredGroup.php
===================================================================
--- trunk/mapbender/http/php/mod_user_filteredGroup.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_user_filteredGroup.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,10 +21,11 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="user_filteredGroup";
-require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 

Modified: trunk/mapbender/http/php/mod_user_filteredGui.php
===================================================================
--- trunk/mapbender/http/php/mod_user_filteredGui.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_user_filteredGui.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,10 +21,11 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="user_filteredGui";
-require_once(dirname(__FILE__)."/mb_validatePermission.php");
+
 require_once(dirname(__FILE__)."/../classes/class_wms.php");
 
 ?>

Modified: trunk/mapbender/http/php/mod_user_group.php
===================================================================
--- trunk/mapbender/http/php/mod_user_group.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_user_group.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,10 +21,11 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="User_Group";
-require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 

Modified: trunk/mapbender/http/php/mod_user_gui.php
===================================================================
--- trunk/mapbender/http/php/mod_user_gui.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_user_gui.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,10 +21,11 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
 $e_id="user_gui";
-require_once(dirname(__FILE__)."/mb_validatePermission.php");
+
 require_once(dirname(__FILE__)."/../classes/class_wms.php"); 
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: trunk/mapbender/http/php/mod_zoomCoords_en.php
===================================================================
--- trunk/mapbender/http/php/mod_zoomCoords_en.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/mod_zoomCoords_en.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -21,9 +21,10 @@
 /*  
  * @security_patch irv open 
  */ 
+require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
-require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>

Modified: trunk/mapbender/http/php/nestedSets.php
===================================================================
--- trunk/mapbender/http/php/nestedSets.php	2010-12-11 10:04:02 UTC (rev 7197)
+++ trunk/mapbender/http/php/nestedSets.php	2010-12-11 10:42:44 UTC (rev 7198)
@@ -20,10 +20,11 @@
 
 /*  
  * @security_patch irv open 
- */ 
+ */
+require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
 security_patch_log(__FILE__,__LINE__); 
 import_request_variables("PG"); 
-require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>



More information about the Mapbender_commits mailing list