phpgroupware-cvs
[Top][All Lists]
Advanced

[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)
                                {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]