get rid of some warnings if vfs-symlink stuff is not configured

This commit is contained in:
Ralf Becker 2001-10-08 08:45:08 +00:00
parent d925b4f11b
commit b9802c348d

View File

@ -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);