Changeset 794
- Timestamp:
- 01/11/07 13:45:01 (2 years ago)
- Files:
-
- devel/htaccess-dist (modified) (1 diff)
- devel/units/files/folder_view.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/htaccess-dist
r748 r794 14 14 15 15 # PHP defaults to allowing file uploads of max 2MB, below is example option for 5MB. 16 # NB: Adjusting value may not work, depending on other configured php and apache limits 16 # NB: Adjusting value may not work, depending on other configured php and apache limits. 17 # for more info see http://php.net/manual/en/features.file-upload.php and http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody 18 # post_max_size should be slightly larger than upload_max_filesize, but the default is usually 8MB anyway. 19 #php_value post_max_size 8388608 17 20 #php_value upload_max_filesize 5242880 18 21 devel/units/files/folder_view.php
r769 r794 117 117 $filetitle = urlencode($title); 118 118 $originalname = stripslashes($file->originalname); 119 $filemenu = round(($file->size / 10 00000),4) . "Mb";119 $filemenu = round(($file->size / 1048576),4) . "MB "; 120 120 $icon = $CFG->wwwroot . "_icon/file/" . $file->ident; 121 121 $filepath = $CFG->wwwroot . "$username/files/$folder/$ident/" . urlencode($originalname);
