[pmwiki-users] Easy way to prevent all editing

Hans design5 at softflow.co.uk
Sun Dec 9 18:45:49 CST 2007


Monday, December 10, 2007, 12:23:31 AM, Neil Herber (nospam) wrote:

> This is just a wild guess, but couldn't you prohibit commenting by 
> changing this setting? Something that would never work, like:

> $HandleAuth['comment'] = 'zzzz';

> If this simply exposes my complete ignorance of PHP, then consider it an
> early Christmas gift of laughter!

yes that works fine!

But bear in mind that the handler function has to pick it up and use
it when retrieving the page. So it does not work in general for any
action defined in some recipe script.

commentboxplus ignored it till now.


  ~Hans




More information about the pmwiki-users mailing list