[pmwiki-users] &action=source

JamesM j.montaldi at gmail.com
Sun Jun 28 15:53:59 CDT 2015


I've been using pmwiki for a few years, and have only just discovered the
&action=source thing.
Unfortunately, this shows the entire source, including things written after
(:if false:), which I use for hiding information (it's on a lecture course
website, and I have some stuff hidden from student view).

So, how can I disable &action=source?
Or better, password protect it.

I tried putting
$DefaultPasswords['source']=' .... ';
into config.php.  This works for ['admin'] and ['edit'] but seems to make
no difference for ['source'].

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20150628/be9f3f91/attachment.html>

More information about the pmwiki-users mailing list