forked from Cavemanon/cavepaintings
fix all the tests (for sqlite, php7.4, osx, at least)
This commit is contained in:
@ -169,7 +169,7 @@ class Upload extends Extension
|
||||
if (filesize($event->tmpname) > $config->get_int('upload_size')) {
|
||||
$size = to_shorthand_int(filesize($event->tmpname));
|
||||
$limit = to_shorthand_int($config->get_int('upload_size'));
|
||||
throw new UploadException("File too large ($size > $limit)");
|
||||
throw new UploadException("File too large ($size > $limit)");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user