Rename $wiki to $enable_wiki to be consistent with $enable_comments, also add a note that dirdir templates should move from lib/_apps/dirdir/ to apps/diridri/

This commit is contained in:
Uriel 2009-01-20 03:38:48 +01:00
parent 69502370b3
commit 9f1f4ca37f
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,6 @@
%{
# XXX This should be moved to apps/dirdir/, and we should bail out if not called from a dir with $enable_wiki set.
get_post_args edit_wiki_page edit_text edit_preview edit_save
# XXX SECURITY HOLE! should sanitize form input and make sure we only edit files we are allowed