Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Discussion forum «   Bug tracker «   Limits onUser Uploads «  

Comment: Limits onUser Uploads

<< Previous  

Comment inspired from NickR

NickR: with the boundary approach (set a new maximum to 5M) the statement looks like the following

UPDATE ... SET upload_allowance = 5

and with the bucket approach (give 2M more to everybody) it is quite so easy:

UPDATE ... SET upload_allowance = upload_allowance+2

Of course, the upload allowance would be impacted only on actual transfer, to avoid duplicates, etc.

by Bernard on Dec. 29 2006