shithub: werc

Download patch

ref: 959dfb4859a194d4fb4dc378cf9baaed8a3223de
parent: 0dc9b7b311f568e6bf8798588ffe16dfbb303d19
author: uriel <uriel@engel.se.cat-v.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">'