svn commit: r923 - trunk/mapbender/http/javascripts/mod_owsproxy.php

christoph at osgeo.org christoph at osgeo.org
Tue Nov 21 07:23:23 EST 2006


Author: christoph
Date: 2006-11-21 12:23:23+0000
New Revision: 923

Modified:
   trunk/mapbender/http/javascripts/mod_owsproxy.php

Log:
* include via dirname(__FILE__)
* added parameter for getGuisByPermission

Modified: trunk/mapbender/http/javascripts/mod_owsproxy.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_owsproxy.php?view=diff&rev=923&p1=trunk/mapbender/http/javascripts/mod_owsproxy.php&p2=trunk/mapbender/http/javascripts/mod_owsproxy.php&r1=922&r2=923
==============================================================================
--- trunk/mapbender/http/javascripts/mod_owsproxy.php	(original)
+++ trunk/mapbender/http/javascripts/mod_owsproxy.php	2006-11-21 12:23:23+0000
@@ -16,11 +16,11 @@
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-include("../../conf/mapbender.conf");
+include(dirname(__FILE__)."/../../conf/mapbender.conf");
 session_start();
 
-include("../php/mb_validateSession.php");
-include("../classes/class_administration.php");
+include(dirname(__FILE__)."/../php/mb_validateSession.php");
+include(dirname(__FILE__)."/../classes/class_administration.php");
 
 ?>
 <html>
@@ -29,7 +29,7 @@
 <table>
 <?php
 $n = new administration();
-$myguis = $n->getGuisByPermission($_SESSION["mb_user_id"]);
+$myguis = $n->getGuisByPermission($_SESSION["mb_user_id"],true);
 $mywms = $n->getWmsByOwnGuis($myguis);
 $v = array();
 $t = array();




More information about the Mapbender_commits mailing list