diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-30 01:38:50 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-30 01:38:50 +0000 |
commit | 7bb447675fced4861eeec9e687935b9eedf98033 (patch) | |
tree | fb6bc055b801ce7ec3ea7fd75c3244c84d5d1263 | |
parent | ab75c0323bc584203a2b4a507c2a2012523354d0 (diff) |
forgot to add this
-rw-r--r-- | IkiWiki.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 54ca84550..c0b26e43f 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -395,6 +395,8 @@ sub loadindex () { #{{{ } #}}} sub saveindex () { #{{{ + run_hooks(savestate => sub { shift->() }); + if (! -d $config{wikistatedir}) { mkdir($config{wikistatedir}); } |