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

This commit is contained in:
uriel 2009-08-09 21:02:42 +02:00
parent 7cdee641be
commit fc6a26ec08

View File

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