forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject svn commit: rev 55332 - forrest/trunk/src/core/context
Date Fri, 22 Oct 2004 22:21:00 GMT
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">

Mime
View raw message