Browse Source

Corrected small travis issue.

pull/543/head
MorganDawe 10 years ago
parent
commit
212276f6d0
  1. 2
      includes/utilities.inc

2
includes/utilities.inc

@ -56,7 +56,7 @@ function islandora_convert_bytes_to_human_readable($bytes, $precision = 2) {
* The extension mapped to the given mimetype. * The extension mapped to the given mimetype.
*/ */
function islandora_get_extension_for_mimetype($mimetype) { function islandora_get_extension_for_mimetype($mimetype) {
require_once(DRUPAL_ROOT . '/includes/file.mimetypes.inc'); require_once DRUPAL_ROOT . "/includes/file.mimetypes.inc";
$mimetype_mapping = file_mimetype_mapping(); $mimetype_mapping = file_mimetype_mapping();
$extension_index = array_search($mimetype, $mimetype_mapping['mimetypes']); $extension_index = array_search($mimetype, $mimetype_mapping['mimetypes']);

Loading…
Cancel
Save