[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.2.1,1
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_shared.inc.php,1.2.2.1,1.2.2.2 |
Date: |
Wed, 30 Apr 2003 10:55:55 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv11883
Modified Files:
Tag: Version-0_9_16-branch
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.2.1
retrieving revision 1.2.2.2
diff -C2 -r1.2.2.1 -r1.2.2.2
*** class.vfs_shared.inc.php 27 Mar 2003 00:07:08 -0000 1.2.2.1
--- class.vfs_shared.inc.php 30 Apr 2003 14:55:52 -0000 1.2.2.2
***************
*** 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.2.1,1.2.2.2,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.schema_proc_pgsql.inc.php,1.5.2.1,1.5.2.2
- Next by Date:
[Phpgroupware-cvs] CVS: phpbrain/inc class.bokb.inc.php,1.12,1.13 class.sokb.inc.php,1.12,1.13 class.uikb.inc.php,1.12,1.13
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.schema_proc_pgsql.inc.php,1.5.2.1,1.5.2.2
- Next by thread:
[Phpgroupware-cvs] CVS: phpbrain/inc class.bokb.inc.php,1.12,1.13 class.sokb.inc.php,1.12,1.13 class.uikb.inc.php,1.12,1.13
- Index(es):