[eluser]Larry Wakeman[/eluser]
I created a MU_Upload class and overrode _prep_filename as follows:
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* File Uploading Class
*
* @package CodeIgniter
* @subpackage Libraries
* @category Uploads
* @author ExpressionEngine Dev Team
* @link http://ellislab.com/codeigniter/user-guide/libraries/file_uploading.html
*/
class MY_Upload extends CI_Upload {
/**
* Prep Filename
*
* The CI basic class modifies the file name of files with mutiple extensions, this is not what is needed
*
* @access private
* @param string
* @return string
*/
function _prep_filename($filename)
{
return $filename;
}
// --------------------------------------------------------------------
}
// END Upload Class
/* End of file Upload.php */
/* Location: ./system/applocation/libraries/MY_Upload.php */