[Pmwiki-users] Small Change: Password protection for "action=diff"

Benedikt Hochstrasser bhoc
Fri Jun 11 06:55:56 CDT 2004


Hello,

suggestion: 

in pagerev.php, replace the line
    $page = RetrieveAuthPage($pagename,"read");
with
    $page = RetrieveAuthPage($pagename,"diff");

and add (if you want to password-protect the diff function)
    $DefaultPasswords['diff']   = 'someencryptedpassword';
to local/config.php

I don't want to allow everyone to look up page diffs, yet I don't want to read-protect my site.

-- 
Ben




More information about the pmwiki-users mailing list