aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/remove.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-03-26 00:16:21 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-03-26 00:16:21 -0400
commit243b0dd082cf4b66dfef55b2c9b459109bee7398 (patch)
treeff541bf0f75deefb16864549a9982e89399883a3 /IkiWiki/Plugin/remove.pm
parentab89494797ef6e0045428d63251287bbc05fa63b (diff)
downloadikiwiki-243b0dd082cf4b66dfef55b2c9b459109bee7398.tar
ikiwiki-243b0dd082cf4b66dfef55b2c9b459109bee7398.tar.gz
fix the other half of the filecheck filename bug
Diffstat (limited to 'IkiWiki/Plugin/remove.pm')
-rw-r--r--IkiWiki/Plugin/remove.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/remove.pm b/IkiWiki/Plugin/remove.pm
index f59d0269e..0fc180f69 100644
--- a/IkiWiki/Plugin/remove.pm
+++ b/IkiWiki/Plugin/remove.pm
@@ -49,7 +49,7 @@ sub check_canremove ($$$) {
# This is sorta overkill, but better safe than sorry.
if (! defined pagetype($pagesources{$page})) {
if (IkiWiki::Plugin::attachment->can("check_canattach")) {
- IkiWiki::Plugin::attachment::check_canattach($session, $page, $file);
+ IkiWiki::Plugin::attachment::check_canattach($session, $page, "$config{srcdir}/$file");
}
else {
error("removal of attachments is not allowed");