[pmwiki-users] EnablePostAuthorRequired in combination with author.php

Holger Kremb pmwiki at kremb.net
Sun Dec 20 17:39:52 CST 2009


Holger Kremb schrieb:
> could it be that $EnablePostAuthorRequired = 1 does not function, if
> author.php is included like include_once("$FarmD/scripts/author.php")?

[author.php]
I just changed line 45 from

Old: if (IsEnabled($EnablePostAuthorRequired,0))
New: if (IsEnabled($EnablePostAuthorRequired,1))

After my changes the behavior of author.php leads to a better
functionality. Please check the source code for the next update. It works
in my configuration. :-)

Or should I be wrong with my change?

Regards
Holger
-- 
http://www.pmwiki.org/wiki/Profiles/Holger




More information about the pmwiki-users mailing list