filemime.module in File MIME 6
Same filename and directory in other branches
Rewrite the MIME type for each file upload based on a server-side mime.types file and/or custom settings.
File
filemime.moduleView source
<?php
/**
* @file
* Rewrite the MIME type for each file upload based on a server-side mime.types file and/or custom settings.
*/
/**
* Implementation of hook_menu().
*/
function filemime_menu() {
$items['admin/settings/filemime'] = array(
'title' => 'File MIME',
'description' => 'Configure the MIME extension mapping for uploaded files.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'filemime_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'filemime.admin.inc',
);
return $items;
}
Functions
Name | Description |
---|---|
filemime_menu | Implementation of hook_menu(). |