phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/class.vfs_shared.php, 1.1.2.3


From: nomail
Subject: [Phpgroupware-cvs] property/class.vfs_shared.php, 1.1.2.3
Date: Sun, 23 May 2004 05:33:40 -0000

Update of /property
Modified Files:
        Branch: proposal-branch
          class.vfs_shared.php

date: 2004/05/02 12:47:50;  author: sigurdne;  state: Exp;  lines: +4 -4

Log Message:
no message
=====================================================================
Index: property/class.vfs_shared.php
diff -u property/class.vfs_shared.php:1.1.2.2 
property/class.vfs_shared.php:1.1.2.3
--- property/class.vfs_shared.php:1.1.2.2       Sat May  1 20:00:28 2004
+++ property/class.vfs_shared.php       Sun May  2 12:47:50 2004
@@ -841,7 +841,6 @@
 
                        $parts=explode('.',strtolower($file));
                        $ext=$parts[(sizeof($parts)-1)];
-
                        for($i=0;$i<sizeof($contents);$i++)
                        {
                                if (!ereg("^#",$contents[$i]))
@@ -964,7 +963,7 @@
 
                        $data = array_merge ($this->default_values ($data, 
$default_values), $data);
 
-                       $sep = SEP;
+                       $sep = '/';
 
                        $rarray['mask'] = RELATIVE_NONE;
 
@@ -1080,7 +1079,8 @@
                                        if (ereg 
("^$link_info[directory]/$link_info[name](/|$)", $rarray['fake_full_path']))
                                        {
                                                $rarray['real_full_path'] = 
ereg_replace ("^$this->basedir", '', $rarray['real_full_path']);
-                                               $rarray['real_full_path'] = 
ereg_replace ("^$link_info[directory]" . SEP . "$link_info[name]", 
$link_info['link_directory'] . SEP . $link_info['link_name'], 
$rarray['real_full_path']);
+//                                             $rarray['real_full_path'] = 
ereg_replace ("^$link_info[directory]" . SEP . "$link_info[name]", 
$link_info['link_directory'] . SEP . $link_info['link_name'], 
$rarray['real_full_path']);
+                                               $rarray['real_full_path'] = 
ereg_replace ("^$link_info[directory]" . '/' . "$link_info[name]", 
$link_info['link_directory'] . SEP . $link_info['link_name'], 
$rarray['real_full_path']);
 
                                                $p = $this->path_parts (array(
                                                                'string'        
=> $rarray['real_full_path'],




reply via email to

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