[Mapbender-commits] r1263 - trunk/mapbender/http/include
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Apr 17 06:19:47 EDT 2007
Author: christoph
Date: 2007-04-17 06:19:46 -0400 (Tue, 17 Apr 2007)
New Revision: 1263
Modified:
trunk/mapbender/http/include/dyn_css.php
Log:
added DB-connection
Modified: trunk/mapbender/http/include/dyn_css.php
===================================================================
--- trunk/mapbender/http/include/dyn_css.php 2007-04-13 13:36:14 UTC (rev 1262)
+++ trunk/mapbender/http/include/dyn_css.php 2007-04-17 10:19:46 UTC (rev 1263)
@@ -17,6 +17,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+require_once("../../conf/mapbender.conf");
+$con = db_connect(DBSERVER,OWNER,PW);
+db_select_db(DB,$con);
+
if(!isset($gui_id) && isset($_REQUEST["guiID"])){
$gui_id = $_REQUEST["guiID"];
}
More information about the Mapbender_commits
mailing list