You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by ni...@apache.org on 2004/10/23 00:21:00 UTC

svn commit: rev 55332 - forrest/trunk/src/core/context

Author: nicolaken
Date: Fri Oct 22 15:20:59 2004
New Revision: 55332

Modified:
   forrest/trunk/src/core/context/sitemap.xmap
Log:
Still function if the plugin sitemap is not present.

Modified: forrest/trunk/src/core/context/sitemap.xmap
==============================================================================
--- forrest/trunk/src/core/context/sitemap.xmap	(original)
+++ forrest/trunk/src/core/context/sitemap.xmap	Fri Oct 22 15:20:59 2004
@@ -347,10 +347,14 @@
       </map:pipeline>
     
       <map:pipeline internal-only="false">
-         <map:mount uri-prefix="" 
-                    src="{forrest:plugins}/sitemap.xmap" 
-                    check-reload="yes" 
-                    pass-through="true"/>
+           <map:select type="exists">
+             <map:when test="{forrest:plugins}/sitemap.xmap">
+               <map:mount uri-prefix="" 
+                          src="{forrest:plugins}/sitemap.xmap" 
+                          check-reload="yes" 
+                          pass-through="true"/>
+            </map:when>  
+          </map:select>
       </map:pipeline>
        
       <map:pipeline internal-only="false">