On 7/15/07, H. Fox <[EMAIL PROTECTED]> wrote: > On 7/15/07, Tegan Dowling <[EMAIL PROTECTED]> wrote: > > I have $EnablePostAuthorRequired = 1; in local/config.php, as > > instructed on http://www.pmwiki.org/wiki/Cookbook/RequireAuthor, but > > once logged in with an edit-enabling password, I was able to save > > changes without entering an Author name. > > This does not happen in my test wiki (running pmwiki-2.2.0-beta57). > $EnablePostAuthorRequired works as advertised there whether the recipe > is enabled or not.
I know what is different. The recipe include()s scripts/author.php, so if you want to enable $EnablePostAuthorRequired, the recipe must be loaded after the line that sets $EnablePostAuthorRequired to 1. Hagan _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
