Upgrade to CodeIgniter 2.0.3
This commit is contained in:
@@ -352,13 +352,13 @@ if ( ! function_exists('get_mime_by_extension'))
|
||||
|
||||
if ( ! is_array($mimes))
|
||||
{
|
||||
if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT))
|
||||
if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/mimes.php'))
|
||||
{
|
||||
include(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT);
|
||||
include(APPPATH.'config/'.ENVIRONMENT.'/mimes.php');
|
||||
}
|
||||
elseif (is_file(APPPATH.'config/mimes'.EXT))
|
||||
elseif (is_file(APPPATH.'config/mimes.php'))
|
||||
{
|
||||
include(APPPATH.'config/mimes'.EXT);
|
||||
include(APPPATH.'config/mimes.php');
|
||||
}
|
||||
|
||||
if ( ! is_array($mimes))
|
||||
|
||||
Reference in New Issue
Block a user