[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.15,1.15.2.1
From: |
Jason Wies <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_sql.inc.php,1.15,1.15.2.1 |
Date: |
Wed, 16 Jan 2002 01:48:05 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv31623
Modified Files:
Tag: Version-0_9_14-branch
class.vfs_sql.inc.php
Log Message:
Switch to arrayized parameters, various fixes
Index: class.vfs_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.vfs_sql.inc.php,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -C2 -r1.15 -r1.15.2.1
*** class.vfs_sql.inc.php 7 Jan 2002 10:50:42 -0000 1.15
--- class.vfs_sql.inc.php 16 Jan 2002 06:48:02 -0000 1.15.2.1
***************
*** 2,6 ****
/**************************************************************************\
* phpGroupWare API - VFS *
! * This file written by Jason Wies (Zone) <address@hidden> *
* This class handles file/dir access for phpGroupWare *
* Copyright (C) 2001 Jason Wies *
--- 2,6 ----
/**************************************************************************\
* phpGroupWare API - VFS *
! * This file written by Jason Wies (Zone) <address@hidden> *
* This class handles file/dir access for phpGroupWare *
[...4509 lines suppressed...]
else
{
! $mime_type = $this->get_ext_mime_type (array(
! 'string' => $p->fake_name
! )
! );
!
if($mime_type)
{
! $GLOBALS['phpgw']->db->query ("UPDATE
phpgw_vfs SET mime_type='".$mime_type."' WHERE
directory='".$p->fake_leading_dirs_clean."' AND name='".$p->fake_name_clean."'"
. $this->extra_sql (array ('query_type' => VFS_SQL_SELECT)), __LINE__,
__FILE__);
}
}
+ $size = filesize ($p->real_full_path);
$rarray = array(
'directory' => $p->fake_leading_dirs,
'name' => $p->fake_name,
! 'size' => $size,
'mime_type' => $mime_type
);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_sql.inc.php,1.15,1.15.2.1,
Jason Wies <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc php3_support_functions.inc.php,1.11,1.11.2.1
- Next by Date:
[Phpgroupware-cvs] CVS: email/inc class.mail_msg_base.inc.php,1.61,1.61.2.1 class.uipreferences.inc.php,1.9,1.9.2.1
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc php3_support_functions.inc.php,1.11,1.11.2.1
- Next by thread:
[Phpgroupware-cvs] CVS: email/inc class.mail_msg_base.inc.php,1.61,1.61.2.1 class.uipreferences.inc.php,1.9,1.9.2.1
- Index(es):