[Mapbender-commits] r2198 - branches/2.5/http/frames
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Mar 6 09:38:32 EST 2008
Author: nimix
Date: 2008-03-06 09:38:32 -0500 (Thu, 06 Mar 2008)
New Revision: 2198
Modified:
branches/2.5/http/frames/index.php
Log:
remove redundant code
Modified: branches/2.5/http/frames/index.php
===================================================================
--- branches/2.5/http/frames/index.php 2008-03-06 14:25:08 UTC (rev 2197)
+++ branches/2.5/http/frames/index.php 2008-03-06 14:38:32 UTC (rev 2198)
@@ -18,13 +18,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-session_start();
mb_internal_encoding("UTF-8");
require(dirname(__FILE__)."/../php/mb_validateSession.php");
-require_once(dirname(__FILE__)."/../classes/class_mb_exception.php");
require_once(dirname(__FILE__)."/../classes/class_locale.php");
-require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
#$e = new mb_notice("index.php: arguments: GML: " . $_SESSION["GML"]);
#$e = new mb_notice("index.php: arguments: Zoom to layer: " . $_REQUEST["zoomToLayer"]);
@@ -32,9 +29,6 @@
#$e = new mb_notice("index.php: arguments: portal_services_wfs: " . $_REQUEST["portal_services_wfs"]);
#$e = new mb_notice("index.php: arguments: layer_preview: " . $_REQUEST["layer_preview"]);
-$con = db_connect(DBSERVER,OWNER,PW);
-db_select_db(DB,$con);
-
$pattern = "/sessionID/";
$_SESSION["mb_user_gui"] = $_REQUEST["gui_id"];
More information about the Mapbender_commits
mailing list