diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-03-26 00:16:21 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-03-26 00:16:21 -0400 |
commit | 243b0dd082cf4b66dfef55b2c9b459109bee7398 (patch) | |
tree | ff541bf0f75deefb16864549a9982e89399883a3 /IkiWiki/Plugin/remove.pm | |
parent | ab89494797ef6e0045428d63251287bbc05fa63b (diff) | |
download | ikiwiki-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.pm | 2 |
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"); |