[pmwiki-users] Setteing upload limit for a directory in a group

Patrick R. Michaud pmichaud at pobox.com
Sat Aug 19 08:15:00 CDT 2006

On Sat, Aug 19, 2006 at 12:47:49PM +0200, TM Martin wrote:
>    Is it possible to set a limit for a upload directory for a group. I.e I
>    wan't to se 1000k as the max limit for the upload directroy for a spesific
>    group, regardless of the count of files uploaded. 

In the group's configuration file (i.e., local/Group.php), add the line

    $UploadPrefixQuota = 1024000;    # limit uploads to 1000K

This will limit the total size of uploads for that group to 1000k --
any upload that pushes the total over the limit will be rejected
with an error message.


More information about the pmwiki-users mailing list