[pmwiki-users] How to disable action=source
haganfox at users.sourceforge.net
Mon Jan 30 11:44:10 CST 2006
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?
More information about the pmwiki-users