1
0
Fork 0

Fix detection of junction points, fixes #7025

pull/7032/merge
Narration SD 2018-01-24 10:04:09 +01:00 committed by Jordi Boggiano
parent 766ed9555e
commit fd61a21bff
1 changed files with 1 additions and 0 deletions

View File

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