[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_shared.inc.php,1.2,1.3
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_shared.inc.php,1.2,1.3 |
Date: |
Thu, 01 May 2003 08:49:13 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv19445
Modified Files:
class.vfs_shared.inc.php
Log Message:
fix from sigurdne, for bug #3300 and #2740
Index: class.vfs_shared.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.vfs_shared.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.vfs_shared.inc.php 4 Mar 2003 18:15:38 -0000 1.2
--- class.vfs_shared.inc.php 1 May 2003 12:49:11 -0000 1.3
***************
*** 962,966 ****
$extra_path = $rarray['fake_extra_path'] =
$rarray['real_extra_path'] = substr ($string, strlen ($base), $length);
! $name = $rarray['fake_name'] = $rarray['real_name'] =
substr ($string, strrpos ($string, $base_sep) + 1);
if ($fake)
--- 962,973 ----
$extra_path = $rarray['fake_extra_path'] =
$rarray['real_extra_path'] = substr ($string, strlen ($base), $length);
! if($string[1] != ':')
! {
! $name = $rarray['fake_name'] =
$rarray['real_name'] = substr ($string, strrpos ($string, $base_sep) + 1);
! }
! else
! {
! $name = $rarray['fake_name'] =
$rarray['real_name'] = $string;
! }
if ($fake)
***************
*** 988,992 ****
else
{
! $rarray['fake_full_path'] = $opp_base .
$rarray['fake_extra_path'] . '/' . $rarray['fake_name'];
if ($extra_path)
{
--- 995,1006 ----
else
{
! if($rarray['fake_name'][1] != ':')
! {
! $rarray['fake_full_path'] = $opp_base .
$rarray['fake_extra_path'] . '/' . $rarray['fake_name'];
! }
! else
! {
! $rarray['fake_full_path'] =
$rarray['fake_name'];
! }
if ($extra_path)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_shared.inc.php,1.2,1.3,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: preferences/setup phpgw_de.lang,1.13,1.14 phpgw_en.lang,1.13,1.14
- Next by Date:
[Phpgroupware-cvs] CVS: property/setup phpgw_en.lang,1.2,1.3
- Previous by thread:
[Phpgroupware-cvs] CVS: preferences/setup phpgw_de.lang,1.13,1.14 phpgw_en.lang,1.13,1.14
- Next by thread:
[Phpgroupware-cvs] CVS: property/setup phpgw_en.lang,1.2,1.3
- Index(es):