[pmwiki-users] How to disable action=source

Tegan Dowling tmdowling at gmail.com
Mon Jan 30 12:23:44 CST 2006


On 1/30/06, H. Fox <haganfox at users.sourceforge.net> wrote:
>
> On 1/30/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > On Mon, Jan 30, 2006 at 10:13:28AM +0100, OBUTEX / Hladůvka wrote:
> > >  I need to disable action=source for the whole Site
> > > Advice PLS.
> >
> > In local/config.php:
> >
> >     if ($action == 'source') $action='browse';
> >
> > You can also do:
> >
> >     $HandleAction['source'] = $HandleAction['browse'];
>
> Is there a reason to prefer one of these over the other?


There's also $HandleAuth, if you just need to control access to
action=source.  See the last section on
http://pmwiki.org/wiki/PmWiki/PasswordsAdmin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060130/aad7cf1c/attachment.html 


More information about the pmwiki-users mailing list