[pmwiki-users] Attach

H. Fox haganfox at users.sourceforge.net
Wed Sep 5 09:32:42 CDT 2007


On 9/5/07, Mark Trumpold <mtrumpold at cacegypt.org> wrote:
> Hi all
>
> I know this is simple but I have completely forgotten how to get the
> 'attach' to show up for U\Ls

>From docs/sample-config.php :

##  If you want uploads enabled on your system, set $EnableUpload=1.
##  You'll also need to set a default upload password, or else set
##  passwords on individual groups and pages.  For more information
##  see PmWiki.UploadsAdmin.
# $EnableUpload = 1;
# $DefaultPasswords['upload'] = crypt('secret');

To that I would ad that you can set the upload size limit, e.g.

   $UploadMaxSize = 1048576;         # One MB max size

so if you only want Attach: links to work, you can set $UploadMaxSize to 0.

Hagan



More information about the pmwiki-users mailing list