Bug #8432

Fix Symlink support for Windows OS

Added by Bastian Waidelich over 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Must have
Category:
Resource
Start date:
2010-06-22
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

With version 5.3 PHP supports symlinks on Windows >= Vista.
symlink($target, $link) works indeed on my Windows 7 machine. But is_link($link) returns FALSE.
That's why the unit test

F3\FLOW3\Resource\Publishing\FileSystemPublishingTargetTest::mirrorFileSymLinksTheGivenFileIfTheSettingSaysSo()
fails on Windows.

A solution might be to use readlink() instead of is_link() as readlink() returns the same for $target and $link (the path to the target)..


Related issues

Related to TYPO3.Flow - Task #8056: Remove configuration option for mirrorModeClosedKarsten Dambekalns

Actions

Also available in: Atom PDF