diff -r 45e887f23282 -r 7152ca0a0ce9 plugins/SpecialUpdownload.php --- a/plugins/SpecialUpdownload.php Mon Feb 16 16:04:54 2009 -0500 +++ b/plugins/SpecialUpdownload.php Mon Feb 16 16:17:25 2009 -0500 @@ -70,7 +70,7 @@ { die_friendly($lang->get('upload_err_title'), '
' . $lang->get('upload_err_cant_get_file_meta') . '
'); } - if ( $file['size'] == 0 || $file['size'] > (int)getConfig('max_file_size') ) + if ( $file['size'] == 0 || $file['size'] > (int)getConfig('max_file_size', '256000') ) { die_friendly($lang->get('upload_err_title'), '' . $lang->get('upload_err_too_big_or_small') . '
'); } @@ -165,7 +165,7 @@= 1048576) {