Skip to content

Commit

Permalink
Fix issue with open_basedir compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers authored Jul 20, 2023
1 parent dd7b1b6 commit 41172a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Filesystem/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ protected function findSymlinks(): void
$iterator = function ($path) use (&$iterator, &$symlinks, $basePath, $restrictBaseDir, $deep) {
foreach (new DirectoryIterator($path) as $directory) {
if (
$directory->isDir() === false
|| $directory->isDot() === true
$directory->isDot()
|| !$directory->isDir()
) {
continue;
}
Expand Down

0 comments on commit 41172a3

Please sign in to comment.