On Sat, Jul 14, 2007 at 03:54:07PM +0300, Algardas wrote:
> Good day,
> 
> I want to archive some versions of PmWiki, but they should 
> stay on the web for historical purposes. Is there a way to 
> make everything readonly?
> 
> If I chmod everything, PmWiki complains either about the 
> lockfile, or the wiki.d directory being not writable...

If you're running version pmwiki-2.2.0-beta44 or later, then
you can set $EnableReadOnly = 1; and the warnings will go away.

You can prevent things from being edited by simply disabling
?action=edit altogether, with:

    $HandleActions['edit'] = 'HandleBrowse';

Hope this helps,

Pm

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to