[mapserver-commits] r9643 - branches/branch-5-4/docs/mapfile
svn at osgeo.org
svn at osgeo.org
Wed Dec 30 23:22:20 EST 2009
Author: sdlime
Date: 2009-12-30 23:22:20 -0500 (Wed, 30 Dec 2009)
New Revision: 9643
Modified:
branches/branch-5-4/docs/mapfile/template.txt
Log:
Updated the template references to document the magic string requirement.
Modified: branches/branch-5-4/docs/mapfile/template.txt
===================================================================
--- branches/branch-5-4/docs/mapfile/template.txt 2009-12-30 03:12:27 UTC (rev 9642)
+++ branches/branch-5-4/docs/mapfile/template.txt 2009-12-31 04:22:20 UTC (rev 9643)
@@ -36,6 +36,11 @@
Notes
-----
+- Templates *must* contain the magic string 'mapserver template' in the first
+ line of the template. Often this takes the form of an HTML, javascript or
+ XML comment. This line is *not* written to the client. The magic string
+ is not case sensitive.
+
- All :ref:`CGI parameters <cgi>` can be referenced in template substitutions,
MapServer specific parameters as well as user defined ones. In principle
parameters are handed through by the MapServer 1:1. This feature is
More information about the mapserver-commits
mailing list