mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-13 18:58:04 +01:00
SCA with Php Inspections (EA Ultimate)
This commit is contained in:
@@ -367,7 +367,7 @@ class BaseFileHelper
|
||||
if (!is_dir($dir)) {
|
||||
return;
|
||||
}
|
||||
if (isset($options['traverseSymlinks']) && $options['traverseSymlinks'] || !is_link($dir)) {
|
||||
if (!empty($options['traverseSymlinks']) || !is_link($dir)) {
|
||||
if (!($handle = opendir($dir))) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user