shithub: werc

Download patch

ref: 2fa68d113370977317a7d4405e6e5759da5d5b44
parent: 9a65fb1b4eb0be0e2082d1cfc658c25c6de77912
author: Uriel <u@berlinblue.org>
date: Sun Aug 9 17:02:42 EDT 2009

Fix sitemap.tpl when $sitedir is an absolute path. Thanks again to arg for reporting, tracking, and fixing this bug!

--- a/tpl/sitemap.tpl
+++ b/tpl/sitemap.tpl
@@ -17,7 +17,7 @@
     d=$1
     dirfilter=$saveddf
     if(test -f $d/_werc/config)
-        . ./$d/_werc/config
+        . $d/_werc/config
 
     if(~ $#perm_redir_to 0) {
         echo '<ul class="sitemap-list">'
--