forked from extern/egroupware
get rid of some warnings if vfs-symlink stuff is not configured
This commit is contained in:
parent
d925b4f11b
commit
b9802c348d
@ -269,8 +269,8 @@
|
|||||||
if ($full_fname)
|
if ($full_fname)
|
||||||
{
|
{
|
||||||
$full_fname = str_replace('\\\\','/',$full_fname); // vfs uses only '/'
|
$full_fname = str_replace('\\\\','/',$full_fname); // vfs uses only '/'
|
||||||
reset($this->link_pathes);
|
@reset($this->link_pathes);
|
||||||
while ((list($valid,$trans) = each($this->link_pathes)) && !$tfname)
|
while ((list($valid,$trans) = @each($this->link_pathes)) && !$tfname)
|
||||||
{ // check case-insensitive for WIN etc.
|
{ // check case-insensitive for WIN etc.
|
||||||
$check = $valid[0] == '\\' || strstr(':',$valid) ? 'eregi' : 'ereg';
|
$check = $valid[0] == '\\' || strstr(':',$valid) ? 'eregi' : 'ereg';
|
||||||
$valid2 = str_replace('\\','/',$valid);
|
$valid2 = str_replace('\\','/',$valid);
|
||||||
|
Loading…
Reference in New Issue
Block a user