You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added get_mimes() function to system/core/Commons.php.The MIMEs array from config/mimes.php is used by multiple core classes, libraries and helpers and each of them has implemented an own way of getting it, which is not needed and is hard to maintain. This also fixes issue bcit-ci#1411
Copy file name to clipboardExpand all lines: user_guide_src/source/changelog.rst
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,7 @@ Release Date: Not Released
147
147
- Added support for HTTP-Only cookies with new config option ``cookie_httponly`` (default FALSE).
148
148
- Renamed method _call_hook() to call_hook() in the :doc:`Hooks Library <general/hooks>`.
149
149
- Added get_content_type() method to the :doc:`Output Library <libraries/output>`.
150
+
- Added get_mimes() function to system/core/Commons.php to return the config/mimes.php array.
150
151
151
152
Bug fixes for 3.0
152
153
------------------
@@ -225,6 +226,7 @@ Bug fixes for 3.0
225
226
- Fixed a bug (#356) - PostgreSQL driver didn't have an _update_batch() method, which resulted in fatal error being triggered when update_batch() is used with it.
226
227
- Fixed a bug (#862) - create_table() failed on SQLSRV/MSSQL when used with 'IF NOT EXISTS'.
227
228
- Fixed a bug (#1419) - libraries/Driver.php had a static variable that was causing an error.
229
+
- Fixed a bug (#1411) - the :doc:`Email library <libraries/email>` used its own short list of MIMEs instead the one from config/mimes.php.
0 commit comments