mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-21 21:19:36 +01:00
Derp, filesize was always being based on first file
This commit is contained in:
parent
5de6227fdd
commit
150f2a5ff3
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…
x
Reference in New Issue
Block a user