[Pmwiki-users] Small Change: Password protection for "action=diff"
Knut Alboldt
alboldt
Mon Jun 14 00:24:49 CDT 2004
>
>BTW, in existing versions of PmWiki one can already password-protect
>the diff function using the 'edit' password--add the following to
>config.php (assuming the page doesn't require a different read
>password):
>
> if ($action=='diff') {
> $page = RetrieveAuthPage($pagename,'edit');
> if (!$page) Abort("?cannot diff $pagename");
> }
>
>Pm
Amazing how simple life can be - sorry - how simple PmWiki can be
customized ! I really like this implementation of a wiki.
Knut
More information about the pmwiki-users
mailing list