svn commit: r919 - trunk/mapbender/http/php/mod_owsproxy_conf.php

christoph at osgeo.org christoph at osgeo.org
Tue Nov 21 06:25:55 EST 2006


Author: christoph
Date: 2006-11-21 11:25:55+0000
New Revision: 919

Modified:
   trunk/mapbender/http/php/mod_owsproxy_conf.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/php/mod_owsproxy_conf.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_owsproxy_conf.php?view=diff&rev=919&p1=trunk/mapbender/http/php/mod_owsproxy_conf.php&p2=trunk/mapbender/http/php/mod_owsproxy_conf.php&r1=918&r2=919
==============================================================================
--- trunk/mapbender/http/php/mod_owsproxy_conf.php	(original)
+++ trunk/mapbender/http/php/mod_owsproxy_conf.php	2006-11-21 11:25:55+0000
@@ -17,8 +17,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-include("../php/mb_validateSession.php");
-include("../classes/class_administration.php");
+include(dirname(__FILE__)."/../php/mb_validateSession.php");
+include(dirname(__FILE__)."/../classes/class_administration.php");
 $admin = new administration();
 $ownwms = $admin->getWmsByOwner($_SESSION["mb_user_id"]);
 if(isset($_REQUEST["wms_id"]) && isset($_REQUEST["status"])){
@@ -27,11 +27,6 @@
 ?>
 <html>
 <head>
-<meta name="author-mail" content="info at mapbender.org">
-<meta name="author" content="U. Rothstein">
-<meta http-equiv="cache-control" content="no-cache">
-<meta http-equiv="pragma" content="no-cache">
-<meta http-equiv="expires" content="0">
 <?php
 echo '<meta http-equiv="Content-Type" content="text/html; charset='.CHARSET.'">';	
 ?>
@@ -42,11 +37,11 @@
 	font-family: Arial, Helvetica, sans-serif;	
 }
 </style>
-<script language="JavaScript" type="text/javascript">
+<script language="JavaScript" type="text/javascript">
 function set(wms_id, status){
 	document.location.href = "mod_owsproxy_conf.php?wms_id="+wms_id+"&status="+status; 
-}
-</script>
+}
+</script>
   
 </head>
 <body>




More information about the Mapbender_commits mailing list