[pmwiki-users] How to disable action=source

Patrick R. Michaud pmichaud at pobox.com
Wed Feb 1 15:36:55 CST 2006


On Mon, Jan 30, 2006 at 10:44:10AM -0700, H. Fox wrote:
> On 1/30/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> >     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?

Not a strong reason that I can think of, no.  They're
essentially equivalent.

Pm




More information about the pmwiki-users mailing list