On Mon, 15 Jan 2007, Patrick R. Michaud wrote:
1. Notify can be directly from local/config.php (and thus would be
safe from thugs):
$NotifyList[] = '[EMAIL PROTECTED] name=Site.NotifyList';
But for something like this, I think configuring via local/config.php is
easiest/safest.
I agree, and I added the following to PmWiki.Notify:
----------------------------------------------------------------------
!! Hardcoded notification rules
If the administrator is worried about authors modifing Site.NotifyList, he
can require a password for editing that page, and/or create the rule in
@@local/config.php@@ instead. To do the latter, add something like this to
@@config.php@@:
$EnableNotify = 1;
$NotifyList[] = '[EMAIL PROTECTED] group=Site';
Now it is impossible for authors to modify this rule by editing
Site.NotifyList
----------------------------------------------------------------------
thanks,
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users