[pmwiki-users] Preventing a script for a group
Patrick R. Michaud
pmichaud at pobox.com
Mon Jul 16 16:04:30 CDT 2007
On Sat, Jul 14, 2007 at 07:58:26PM -0700, Ian MacGregor wrote:
>
> On Saturday 14 July 2007 7:19:09 pm H. Fox wrote:
> > On 7/14/07, Ian MacGregor <lists at imacgregor.com> wrote:
> > > I have a group called News in which I have pages for newsfeeds using
> > > pmfeed.
> > >
> > > [...] The problem I am having is that I
> > > don't know how to turn off url approvals for the News group.
>
> What I ended up doing was reading scripts/urlapprove.php and learned I could
> put this in local/News.php:
>
> <?php if (!defined('PmWiki')) exit();
> $EnableUrlApprovalRequired = 0;
>
> Do you see anything wrong with that approach?
This is the canonical approach -- per-group customizations of
any sort generally go in the local/Group.php file.
Pm
More information about the pmwiki-users
mailing list