On Tue, Feb 27, 2007 at 06:03:15PM +0000, Hans wrote:
> Tuesday, February 27, 2007, 5:18:57 PM, Patrick wrote:
> > An easy way is to create
> > an $EditFunction that disallows creating new pages:
> > ......
> 
> I tested this by putting into config.php:
> 
> $EditFunctions[] = 'CreateDisallowed';
> ...
> Would the new edit function need to be inserted at a special place in
> the $EditFunctions array?

Yes, it should go at the beginning of the array:

    array_unshift($EditFunctions, 'CreateDisallowed');

Sorry about that.

Pm

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to