diff options
author | Eric Barnes <eric@ericlbarnes.com> | 2011-03-18 14:02:37 +0100 |
---|---|---|
committer | Eric Barnes <eric@ericlbarnes.com> | 2011-03-18 14:02:37 +0100 |
commit | 928083406322821a35a7d8a4205620c3854772a6 (patch) | |
tree | eed53a5207649e137b82853bfb675896adbe795c /system/helpers/file_helper.php | |
parent | bb458e3b9189af409d342623a9873397a1ac92c2 (diff) |
Fixed coding to match standards from previous releases
Diffstat (limited to 'system/helpers/file_helper.php')
-rw-r--r-- | system/helpers/file_helper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php index fb074e027..f4b48b484 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php @@ -354,13 +354,13 @@ if ( ! function_exists('get_mime_by_extension')) { if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT)) { - @include(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT); + include(APPPATH.'config/'.ENVIRONMENT.'/mimes'.EXT); } else { @include(APPPATH.'config/mimes'.EXT); } - + if ( ! is_array($mimes)) { return FALSE; |