Eliminate php.ini restrictions on all file sizes

This commit is contained in:
Kijin Sung 2016-12-17 20:51:10 +09:00
parent e2895912e5
commit 193fab949d
3 changed files with 9 additions and 4 deletions

View file

@ -10,15 +10,14 @@
<div class="x_control-group">
<label for="allowed_filesize" class="x_control-label">{$lang->allowed_filesize}</label>
<div class="x_controls">
<input type="number" min="0" name="allowed_filesize" id="allowed_filesize" value="{$file_config->allowed_filesize}" size="3" /> MB
<input type="number" min="0" name="allowed_filesize" id="allowed_filesize" value="{$file_config->allowed_filesize}" size="7" style="min-width:80px" /> MB
<p class="x_help-inline">{$lang->about_allowed_filesize}</p>
</div>
</div>
<div class="x_control-group">
<label for="allowed_attach_size" class="x_control-label">{$lang->allowed_attach_size}</label>
<div class="x_controls">
<input type="number" min="0" name="allowed_attach_size" id="allowed_attach_size" value="{$file_config->allowed_attach_size}" size="3" /> MB
/ {ini_get('upload_max_filesize')}
<input type="number" min="0" name="allowed_attach_size" id="allowed_attach_size" value="{$file_config->allowed_attach_size}" size="7" style="min-width:80px" /> MB
<p class="x_help-inline">{$lang->about_allowed_attach_size}</p>
</div>
</div>