forked from leftypol/leftypol
Derp, filesize was always being based on first file
This commit is contained in:
parent
ea47e000f4
commit
c1bc5778dd
1 changed files with 0 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue