commit | 6ef498b49946ba74d610b3805fb908b163a7f03a | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Tue Jun 05 22:01:58 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Tue Jun 05 22:01:58 2012 +0300 |
tree | 7c0239269a92a6887f43cc36020258616bfec434 | |
parent | f4a53ce71feadb867b3ea462cb5a5b3f5052a035 [diff] |
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 #1411