Changeset 628838
- Timestamp:
- 11/22/2012 11:13:42 PM (13 years ago)
- File:
-
- 1 edited
-
edge-suite/trunk/admin/options.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
edge-suite/trunk/admin/options.php
r608822 r628838 36 36 </tr> 37 37 38 <?php 39 $server_post_size = ini_get('post_max_size'); 40 $server_upload_size = ini_get('upload_max_filesize'); 41 $server_max_size = $server_post_size < $server_upload_size ? $server_post_size : $server_upload_size; 42 43 $file_size_hint = 'Your server supports files up to ' . $server_max_size; 44 $file_size_hint .= ' (post_max_size: ' . $server_post_size . ' / upload_max_filesize: ' . $server_max_size . ').'; 45 ?> 38 46 <tr valign="top"> 39 47 <th scope="row">Max upload file size</th> … … 42 50 value="<?php echo intval(get_option('edge_suite_max_size')); ?>"/> 43 51 <span class="setting-description"> 44 File size in MB<br/>This is the max size that your file uploads will be limited to. 2 MB is the default upload size. 52 File size in MB<br/> 53 This is the max size that your file uploads will be limited to. 2 MB is the default upload size.<br> 54 <?php print $file_size_hint; ?> 45 55 </span> 46 56 </td>
Note: See TracChangeset
for help on using the changeset viewer.