Derp, filesize was always being based on first file
This commit is contained in:
parent
ea47e000f4
commit
c1bc5778dd
1
post.php
1
post.php
@ -385,7 +385,6 @@ if (isset($_POST['delete'])) {
|
|||||||
error(_('Unrecognized file size determination method.'));
|
error(_('Unrecognized file size determination method.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$size = $_FILES['file']['size'];
|
|
||||||
if ($size > $config['max_filesize'])
|
if ($size > $config['max_filesize'])
|
||||||
error(sprintf3($config['error']['filesize'], array(
|
error(sprintf3($config['error']['filesize'], array(
|
||||||
'sz' => number_format($size),
|
'sz' => number_format($size),
|
||||||
|
Loading…
Reference in New Issue
Block a user