You are here

function mimedetect_menu in MimeDetect 6

Same name and namespace in other branches
  1. 5 mimedetect.module \mimedetect_menu()
  2. 7 mimedetect.module \mimedetect_menu()

@file Provide server side mime type detection.

@author Darrel O'Pry, http://www.drupal.org/user/22202 @copyright Copyright(c) 2007, Darrel O'Pry

File

./mimedetect.module, line 12
Provide server side mime type detection.

Code

function mimedetect_menu() {
  $items = array();

  // The admin settings form.
  $items['admin/settings/mimedetect'] = array(
    'title' => 'Mime type detection',
    'description' => 'Control how the mime type of uploaded files will be determined.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'mimedetect_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'mimedetect.admin.inc',
  );
  return $items;
}