[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_sql.inc.php,1.16,1.17
From: |
Jason Wies <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_sql.inc.php,1.16,1.17 |
Date: |
Sat, 09 Feb 2002 23:19:45 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv30565
Modified Files:
class.vfs_sql.inc.php
Log Message:
PHP3 fixes
Index: class.vfs_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.vfs_sql.inc.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** class.vfs_sql.inc.php 16 Jan 2002 06:36:51 -0000 1.16
--- class.vfs_sql.inc.php 10 Feb 2002 04:19:43 -0000 1.17
***************
*** 182,186 ****
function get_relative ()
{
! if (isset ($this->relative))
{
return $this->relative;
--- 182,186 ----
function get_relative ()
{
! if (isset ($this->relative) && $this->relative)
{
return $this->relative;
***************
*** 1052,1056 ****
}
! $basedir = ereg_replace ($sep.'$', '', $basedir);
return $basedir;
--- 1052,1056 ----
}
! $basedir = ereg_replace ($sep . '$', '', $basedir);
return $basedir;
***************
*** 2686,2691 ****
function get_ext_mime_type ($data)
{
- static $mimetype = Array();
-
if (!is_array ($data))
{
--- 2686,2689 ----
***************
*** 2702,2710 ****
$ext=$parts[(sizeof($parts)-1)];
- if(isset($mimetype[$ext]))
- {
- return $mimetype[$ext];
- }
-
for($i=0;$i<sizeof($contents);$i++)
{
--- 2700,2703 ----
***************
*** 2718,2723 ****
if($line[$j] == $ext)
{
! $mimetype[$ext]
= $line[0];
! return
$mimetype[$ext];
}
}
--- 2711,2715 ----
if($line[$j] == $ext)
{
! return $line[0];
}
}
***************
*** 2726,2732 ****
}
! $mimetype[$ext] = '';
!
! return $mimetype[$ext];
}
--- 2718,2722 ----
}
! return '';
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_sql.inc.php,1.16,1.17,
Jason Wies <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpwebhosting index.php,1.31,1.32 preferences.php,1.6,1.7 test.php,1.7,1.8
- Next by Date:
[Phpgroupware-cvs] CVS: phpwebhosting index.php,1.30.2.1,1.30.2.2 preferences.php,1.6,1.6.2.1 test.php,1.6.2.1,1.6.2.2
- Previous by thread:
[Phpgroupware-cvs] CVS: phpwebhosting index.php,1.31,1.32 preferences.php,1.6,1.7 test.php,1.7,1.8
- Next by thread:
[Phpgroupware-cvs] CVS: phpwebhosting index.php,1.30.2.1,1.30.2.2 preferences.php,1.6,1.6.2.1 test.php,1.6.2.1,1.6.2.2
- Index(es):