<br><br><div><span class="gmail_quote">On 1/30/06, <b class="gmail_sendername">H. Fox</b> &lt;<a href="mailto:haganfox@users.sourceforge.net">haganfox@users.sourceforge.net</a>&gt; 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 &lt;<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>&gt; wrote:<br>&gt; On Mon, Jan 30, 2006 at 10:13:28AM +0100, OBUTEX / Hladůvka wrote:<br>&gt; &gt;&nbsp;&nbsp;I need to disable action=source for the whole Site
<br>&gt; &gt; Advice PLS.<br>&gt;<br>&gt; In local/config.php:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; if ($action == 'source') $action='browse';<br>&gt;<br>&gt; You can also do:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; $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.&nbsp; See the last section on <a href="http://pmwiki.org/wiki/PmWiki/PasswordsAdmin">
http://pmwiki.org/wiki/PmWiki/PasswordsAdmin</a> <br></div><br></div>