diff flys-artifacts/doc/conf/mapserver/db_layer.vm @ 1854:e372934f0c42

Replaced the dbconnection.include used by Mapserver - these information are provided by LayerInfo objects now, which reduces config overhead. flys-artifacts/trunk@3199 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 09 Nov 2011 15:00:29 +0000
parents 5364b86a0880
children dd467951335c
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/mapserver/db_layer.vm	Wed Nov 09 14:02:15 2011 +0000
+++ b/flys-artifacts/doc/conf/mapserver/db_layer.vm	Wed Nov 09 15:00:29 2011 +0000
@@ -2,7 +2,9 @@
     NAME "$LAYER.getName()"
     TYPE $LAYER.getType()
 
-    INCLUDE "$CONFIGDIR/mapserver/dbconnection.include"
+    CONNECTIONTYPE $LAYER.getConnectionType()
+    CONNECTION "$LAYER.getConnection()"
+
     DATA    "$LAYER.getData()"
     FILTER  '$LAYER.getFilter()'
     EXTENT  $LAYER.getExtent()

http://dive4elements.wald.intevation.org