aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-12-22 19:21:41 +0100
committerintrigeri <intrigeri@boum.org>2010-12-22 19:21:41 +0100
commitb2a2246bac236cbe059042482828e68413597fd8 (patch)
treef443eb6d0a56948bfe552b593b9d71013000b158 /IkiWiki.pm
parent406485917af781a63607b50414bbf0d2e479da5f (diff)
downloadikiwiki-b2a2246bac236cbe059042482828e68413597fd8.tar
ikiwiki-b2a2246bac236cbe059042482828e68413597fd8.tar.gz
Enable HTML::Template's parent_global_vars option.
Else setting parameters that do not appear in the template (such as title_overridden) fails horribly.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 97946bfcf..926d42a49 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1891,6 +1891,7 @@ sub template_depends ($$;@) {
},
loop_context_vars => 1,
die_on_bad_params => 0,
+ parent_global_vars => 1,
filename => $filename,
@_,
($untrusted ? (no_includes => 1) : ()),