[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.browser.inc.php, 1.14.2.2.2.3, 1.
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.browser.inc.php, 1.14.2.2.2.3, 1.14.2.2.2.4 class.mime_magic.inc.php, 1.1.2.1, 1.1.2.2 |
Date: |
Mon, 24 Nov 2003 21:43:20 +0000 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv1503
Modified Files:
Tag: Version-0_9_16-branch
class.browser.inc.php class.mime_magic.inc.php
Log Message:
fixes
Index: class.browser.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.browser.inc.php,v
retrieving revision 1.14.2.2.2.3
retrieving revision 1.14.2.2.2.4
diff -C2 -d -r1.14.2.2.2.3 -r1.14.2.2.2.4
*** class.browser.inc.php 9 Oct 2003 08:18:44 -0000 1.14.2.2.2.3
--- class.browser.inc.php 24 Nov 2003 21:43:17 -0000 1.14.2.2.2.4
***************
*** 255,259 ****
{
$mime_magic =
createObject('phpgwapi.mime_magic');
! $mime = $mime_magic->ext2mime($fn);
}
if($fn)
--- 255,259 ----
{
$mime_magic =
createObject('phpgwapi.mime_magic');
! $mime = $mime_magic->filename2mime($fn);
}
if($fn)
Index: class.mime_magic.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/Attic/class.mime_magic.inc.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** class.mime_magic.inc.php 16 Sep 2003 23:37:41 -0000 1.1.2.1
--- class.mime_magic.inc.php 24 Nov 2003 21:43:18 -0000 1.1.2.2
***************
*** 87,92 ****
/**
! * Attempt to convert a filename to a MIME type, based on the
! * global Horde and application specific config files.
*
* Unlike ext2mime, this function will return
--- 87,91 ----
/**
! * Attempt to convert a filename to a MIME type.
*
* Unlike ext2mime, this function will return
***************
*** 100,104 ****
* @author skwashd - changed it to make it work with file.tar.gz
etc
*/
! function filename2mine($filename)
{
$fn_parts = explode('.', $filename);
--- 99,103 ----
* @author skwashd - changed it to make it work with file.tar.gz
etc
*/
! function filename2mime($filename)
{
$fn_parts = explode('.', $filename);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.browser.inc.php, 1.14.2.2.2.3, 1.14.2.2.2.4 class.mime_magic.inc.php, 1.1.2.1, 1.1.2.2,
Dave Hall <address@hidden> <=