mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
format and fix Id string
This commit is contained in:
parent
f61e52640f
commit
32b2d29415
@ -1,28 +1,28 @@
|
|||||||
<?php
|
<?php
|
||||||
/********************************************************************\
|
/********************************************************************\
|
||||||
* phpGroupWare - phpGroupWare API - mime magic *
|
* phpGroupWare - phpGroupWare API - mime magic *
|
||||||
* http://www.phpgroupware.org *
|
* http://www.phpgroupware.org *
|
||||||
* This program is part of the GNU project, see http://www.gnu.org *
|
* This program is part of the GNU project, see http://www.gnu.org *
|
||||||
* *
|
* *
|
||||||
* Originally taken from the Horde Framework http://horde.org *
|
* Originally taken from the Horde Framework http://horde.org *
|
||||||
* *
|
* *
|
||||||
* Copyright 1999-2003 Anil Madhavapeddy <anil@recoil.org> *
|
* Copyright 1999-2003 Anil Madhavapeddy <anil@recoil.org> *
|
||||||
* Copyright 2002-2003 Michael Slusarz <slusarz@bigworm.colorado.edu> *
|
* Copyright 2002-2003 Michael Slusarz <slusarz@bigworm.colorado.edu> *
|
||||||
* Copyright 2003 Free Software Foundation, Inc. *
|
* Copyright 2003 Free Software Foundation, Inc. *
|
||||||
* *
|
* *
|
||||||
* Ported to phpGroupWare by Dave Hall - dave.hall@mbox.com.au *
|
* Ported to phpGroupWare by Dave Hall - dave.hall@mbox.com.au *
|
||||||
* Note: this class was relicensed as GPL by Dave Hall - all mods GPL *
|
* Note: this class was relicensed as GPL by Dave Hall - all mods GPL *
|
||||||
* -------------------------------------------- *
|
* -------------------------------------------- *
|
||||||
* This program is Free Software; you can redistribute it and/or *
|
* This program is Free Software; you can redistribute it and/or *
|
||||||
* modify it under the terms of the GNU General Public License as *
|
* modify it under the terms of the GNU General Public License as *
|
||||||
* published by the Free Software Foundation; either version 2 of *
|
* published by the Free Software Foundation; either version 2 of *
|
||||||
* the License, or (at your option) any later version. *
|
* the License, or (at your option) any later version. *
|
||||||
\********************************************************************/
|
\********************************************************************/
|
||||||
/* $id */
|
|
||||||
|
/* $Id */
|
||||||
|
|
||||||
class mime_magic
|
class mime_magic
|
||||||
{
|
{
|
||||||
|
|
||||||
//extension to mime type map
|
//extension to mime type map
|
||||||
var $mime_extension_map;
|
var $mime_extension_map;
|
||||||
|
|
||||||
@ -127,7 +127,6 @@
|
|||||||
*
|
*
|
||||||
* @return string The file extension of the MIME type.
|
* @return string The file extension of the MIME type.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function mime2ext($type)
|
function mime2ext($type)
|
||||||
{
|
{
|
||||||
$key = array_search($type, $this->mime_extension_map);
|
$key = array_search($type, $this->mime_extension_map);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user