[pmwiki-users] Problem with Cookbook CommentBox and beta 32
Ian Barton
lists at manor-farm.org
Wed Apr 27 09:02:04 CDT 2005
Thanks. By editing the following:
function HandleCommentPost($pagename) {
global $_POST,$JournalPattern,$DiaryPattern;
global $AuthFunction,$oAuthFunction;
//SDV($AuthFunction,'BasicAuth');
SDV($AuthFunction,'PmWikiAuth');
I have fixed it. I'll update the Wiki page, but first is there a way of
determining which version of PmWiki is running? If I just change the
code, it will break the script for people with earlier versions.
I want to be able to do something like:
ifdef (PmWiki_Ver < xxx.yyy)
SDV($AuthFunction,'BasicAuth');
else
SDV($AuthFunction,'PmWikiAuth');
Ian.
Radu wrote:
> BasicAuth was replaced a way back with PmWikiAuth. Someone needs to
> update the CommentBox recipe.
>
> Pm, could this problem be fixed by some 'forwarder' BasicAuth, that just
> calls the new auth? Many cookbook recipes seem to have broken around
> that? Or is the new version incompatible with the old one?
More information about the pmwiki-users
mailing list