Changeset 107

Show
Ignore:
Timestamp:
2007-12-19 20:47:27 (1 year ago)
Author:
hannes
Message:

removing MAX_UPLOAD_SIZE field in posting form as it's essentially useless and it only leads to problems (ticket #38)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/misc/Postform.php

    r102 r107  
    5454        // form object 
    5555        $this->form = new Form($F->link($show_orig).'commit=y', 'postform', 'multipart/form-data'); 
    56         // max. upload size 
    57         if ($show_orig !== 'messenger' && $show_orig !== 'edit' && $show_orig !== 'mail' && $SETTINGS['maxuploadsize'] > 0) { 
    58             $this->form->addInput('hidden', 'MAX_FILE_SIZE', $SETTINGS['maxuploadsize']); 
    59         } 
    6056        // reply to which topic? 
    6157        if ($show_orig === 'reply') {