howto (temporarily) disable edits in pmwiki

chrisv on 2009-02-07T10:15:47

How to (temporarily disable edits) in pmwiki (this is a dirty quickfix; Auth is obviously a better solution):

edit the pmwiki.php file and change:

179 'edit' => 'HandleEdit', 'source' => 'HandleSource',

to:

179 'edit' => 'HandleBrowse', 'source' => 'HandleSource',

To enable the editing, just switch back.