<br><br><div><span class="gmail_quote">On 1/30/06, <b class="gmail_sendername">H. Fox</b> <<a href="mailto:haganfox@users.sourceforge.net">haganfox@users.sourceforge.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 1/30/06, Patrick R. Michaud <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>> wrote:<br>> On Mon, Jan 30, 2006 at 10:13:28AM +0100, OBUTEX / Hladůvka wrote:<br>> > I need to disable action=source for the whole Site
<br>> > Advice PLS.<br>><br>> In local/config.php:<br>><br>> if ($action == 'source') $action='browse';<br>><br>> You can also do:<br>><br>> $HandleAction['source'] = $HandleAction['browse'];
<br><br>Is there a reason to prefer one of these over the other?</blockquote><div><br>There's also $HandleAuth, if you just need to control access to action=source. See the last section on <a href="http://pmwiki.org/wiki/PmWiki/PasswordsAdmin">
http://pmwiki.org/wiki/PmWiki/PasswordsAdmin</a> <br></div><br></div>