summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-11-15 14:12:26 +0000
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-12-11 21:14:01 +0000
commit49835784d8908e07fabf4200e35adcd98b73a00c (patch)
tree30491d57314127a27f64a0d63274fe4fd389c368 /IkiWiki/Plugin
parentbd8c4674a89945d4748537fbbb15464d9963c299 (diff)
smcvpostcomment: use better names for special comment files
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/smcvpostcomment.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/smcvpostcomment.pm b/IkiWiki/Plugin/smcvpostcomment.pm
index 1255cfde1..3e3c2ca93 100644
--- a/IkiWiki/Plugin/smcvpostcomment.pm
+++ b/IkiWiki/Plugin/smcvpostcomment.pm
@@ -253,7 +253,7 @@ sub sessioncgi ($$) { #{{{
my $file;
do {
$i++;
- $file = "$page/comment_${i}._" . PLUGIN;
+ $file = "$page/_comment_${i}._" . PLUGIN;
} while (-e "$config{srcdir}/$file");
# FIXME: could probably do some sort of graceful retry
@@ -287,7 +287,7 @@ sub sessioncgi ($$) { #{{{
error($conflict) if defined $conflict;
# Bounce back to where we were, but defeat broken caches
- my $anticache = "?updated=$page/comment_$i";
+ my $anticache = "?updated=$page/_comment_$i";
IkiWiki::redirect($cgi, urlto($page, undef, 1).$anticache);
}
else {