Fix detection of junction points, fixes #7025

main
Narration SD 7 years ago committed by Jordi Boggiano
parent 766ed9555e
commit fd61a21bff

@ -665,6 +665,7 @@ class Filesystem
* Stat cache should be cleared before to avoid accidentally reading wrong information from previous installs.
*/
clearstatcache(true, $junction);
clearstatcache(false);
$stat = lstat($junction);
return !($stat['mode'] & 0xC000);

Loading…
Cancel
Save