remove if from symlink (seems to be leftover), if destination does not exist if causes symlink not to be created

This commit is contained in:
Ralf Becker 2001-12-06 00:28:54 +00:00
parent c67fd7c7ee
commit 89bf32bb59

View File

@ -1435,7 +1435,7 @@
*/
function symlink($from,$to,$relatives = '')
{
if ($this->file_exists ($to, array ($relatives[1])))
// echo "<p>vfs->symlink('$from','$to')</p>\n";
return $this->cp ($from, $to, $relatives, True);
}