[Mapbender-commits] r1268 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Apr 17 10:46:37 EDT 2007


Author: christoph
Date: 2007-04-17 10:46:37 -0400 (Tue, 17 Apr 2007)
New Revision: 1268

Modified:
   trunk/mapbender/http/classes/class_wms.php
Log:
added DB connection

Modified: trunk/mapbender/http/classes/class_wms.php
===================================================================
--- trunk/mapbender/http/classes/class_wms.php	2007-04-17 14:45:35 UTC (rev 1267)
+++ trunk/mapbender/http/classes/class_wms.php	2007-04-17 14:46:37 UTC (rev 1268)
@@ -19,6 +19,10 @@
 
 include_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 require_once(dirname(__FILE__)."/class_connector.php");
+
+$con = db_connect(DBSERVER,OWNER,PW);
+db_select_db(DB,$con);
+
   
 class wms {
 	var $lastURL;



More information about the Mapbender_commits mailing list