format and fix Id string

This commit is contained in:
Miles Lott 2004-01-10 15:18:12 +00:00
parent f61e52640f
commit 32b2d29415

View File

@ -1,28 +1,28 @@
<?php
/********************************************************************\
* phpGroupWare - phpGroupWare API - mime magic *
* http://www.phpgroupware.org *
* This program is part of the GNU project, see http://www.gnu.org *
* *
* Originally taken from the Horde Framework http://horde.org *
* *
* Copyright 1999-2003 Anil Madhavapeddy <anil@recoil.org> *
* Copyright 2002-2003 Michael Slusarz <slusarz@bigworm.colorado.edu> *
* Copyright 2003 Free Software Foundation, Inc. *
* *
* Ported to phpGroupWare by Dave Hall - dave.hall@mbox.com.au *
* Note: this class was relicensed as GPL by Dave Hall - all mods GPL *
* -------------------------------------------- *
* This program is Free Software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
* published by the Free Software Foundation; either version 2 of *
* the License, or (at your option) any later version. *
\********************************************************************/
/* $id */
/********************************************************************\
* phpGroupWare - phpGroupWare API - mime magic *
* http://www.phpgroupware.org *
* This program is part of the GNU project, see http://www.gnu.org *
* *
* Originally taken from the Horde Framework http://horde.org *
* *
* Copyright 1999-2003 Anil Madhavapeddy <anil@recoil.org> *
* Copyright 2002-2003 Michael Slusarz <slusarz@bigworm.colorado.edu> *
* Copyright 2003 Free Software Foundation, Inc. *
* *
* Ported to phpGroupWare by Dave Hall - dave.hall@mbox.com.au *
* Note: this class was relicensed as GPL by Dave Hall - all mods GPL *
* -------------------------------------------- *
* This program is Free Software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
* published by the Free Software Foundation; either version 2 of *
* the License, or (at your option) any later version. *
\********************************************************************/
/* $Id */
class mime_magic
{
//extension to mime type map
var $mime_extension_map;
@ -127,7 +127,6 @@
*
* @return string The file extension of the MIME type.
*/
function mime2ext($type)
{
$key = array_search($type, $this->mime_extension_map);