shorthand ints for display~
git-svn-id: file:///home/shish/svn/shimmie2/trunk@431 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
86e21c3840
commit
4d626b59e5
@ -80,8 +80,8 @@ class Upload extends Extension {
|
||||
}
|
||||
else if(filesize($file['tmp_name']) > $config->get_int('upload_size')) {
|
||||
$this->theme->display_upload_error($page, "Error with ".html_escape($file['name']),
|
||||
"File too large (".filesize($file['tmp_name'])." > ".
|
||||
($config->get_int('upload_size')).")");
|
||||
"File too large (".to_shorthand_int(filesize($file['tmp_name']))." > ".
|
||||
(to_shorthand_int($config->get_int('upload_size'))).")");
|
||||
}
|
||||
else if(!($info = getimagesize($file['tmp_name']))) {
|
||||
$this->theme->display_upload_error($page, "Error with ".html_escape($file['name']),
|
||||
|
Loading…
x
Reference in New Issue
Block a user