removed redundant upload lang file, after lang name changs, it was blocking the CI lang file from loading. Fixes #473
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index c18c178..0aa6d4c 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -937,9 +937,12 @@
*/
function display_errors($open = '<p>', $close = '</p>')
{
+ $CI =& get_instance();
+ $CI->lang->load('upload');
$str = '';
foreach ($this->error_msg as $val)
{
+ $str .= '<pre>'.print_r($CI->lang->line($msg), TRUE).'</pre>';
$str .= $open.$val.$close;
}