[pmwiki-users] removing the "upload" password option

Patrick R. Michaud pmichaud at pobox.com
Sat Feb 25 13:29:09 CST 2006


On Sat, Feb 25, 2006 at 01:41:48AM -0700, Philip Stitt wrote:
> This is a minor thing, but... I have no use for the "upload" password on
> my site, so I was wondering: is there a way to remove it from the list
> on the attributes pages, so that users would not even be presented with
> the option to set an "upload" password? 

You could try the following *at the end* of your local/config.php:

    include_once("$FarmD/scripts/stdconfig.php");
    unset($PageAttributes['passwdupload']);

Pm




More information about the pmwiki-users mailing list