Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chrisv (8116)

  (email not shown publicly)

Journal of chrisv (8116)

Saturday February 07, 2009
05:15 AM

howto (temporarily) disable edits in pmwiki

[ #38422 ]

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',


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

To enable the editing, just switch back.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.