[Mapbender-commits] r5728 - trunk/mapbender/conf

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Mar 5 05:19:45 EST 2010


Author: tbaschetti
Date: 2010-03-05 05:19:44 -0500 (Fri, 05 Mar 2010)
New Revision: 5728

Modified:
   trunk/mapbender/conf/mapbender.conf-dist
Log:
drop Mysql-Support in mapbender.conf


Modified: trunk/mapbender/conf/mapbender.conf-dist
===================================================================
--- trunk/mapbender/conf/mapbender.conf-dist	2010-03-05 09:55:14 UTC (rev 5727)
+++ trunk/mapbender/conf/mapbender.conf-dist	2010-03-05 10:19:44 UTC (rev 5728)
@@ -8,45 +8,18 @@
 # --------------------------------------------
 
 
-#define("SYS_DBTYPE", "mysql");
 define("SYS_DBTYPE", "pgsql");
 
 # --------------------------------------------
 # database information
 # --------------------------------------------
 
-if(SYS_DBTYPE=="mysql")
-{
-	define("DBSERVER", "<HOST>");
-	define("PORT", "3306");
-	define("DB", "<database>");
-	define("OWNER", "<owner>");
-	define("PW", "<password>");
-	
-	# --------------------------------------------
-	# database with geos functions
-	# --------------------------------------------
+define("DBSERVER", "<HOST>");
+define("PORT", "5432");
+define("DB", "<database>");
+define("OWNER", "<owner>");
+define("PW", "<password>");
 
-	define("GEOS_DBSERVER", "<HOST>");
-	define("GEOS_PORT", "5432");
-	define("GEOS_DB", "<database with geos functions>");
-	define("GEOS_OWNER", "<owner>");
-	define("GEOS_PW", "<password>");
-
-	$GEOS_DBSERVER=GEOS_DBSERVER;
-	$GEOS_DB=GEOS_DB;
-	$GEOS_PORT =GEOS_PORT;
-	$GEOS_OWNER=GEOS_OWNER;
-	$GEOS_PW=GEOS_PW;	
-}
-else {
-	define("DBSERVER", "<HOST>");
-	define("PORT", "5432");
-	define("DB", "<database>");
-	define("OWNER", "<owner>");
-	define("PW", "<password>");
-}
-
 # --------------------------------------------
 # prepared statements (PHP > 5.1.x, PostgreSQL > 7.4)
 # --------------------------------------------



More information about the Mapbender_commits mailing list