[Pmwiki-users] PmWiki offline

Knut Alboldt pmwiki
Wed Dec 1 03:14:24 CST 2004

Ciaran wrote:
> Just FYI Pm, the nanoweb installation I discussed with you on IRC
> t'other day worked perfectly once I modified Lock to return
> immediately.  Which is nice.
> *However* <g> Is it possible to remove the edit action entirely via
> local/config.php, 

just enter this line:

	if ($action=='edit') $action='browse';

removing upload as well?

	if ($action=='upload') $action='browse';

That should be a very quick solution

to remove edit of non existant pages change:

	$LinkPageCreateFmt = "\$LinkText (page not found)";

Finally the edit-link should be removed from the skin.


More information about the pmwiki-users mailing list