@@ -45,11 +45,11 @@ |
||
45 | 45 | { |
46 | 46 | $items = array_diff(scandir($path), array('.', '..')); |
47 | 47 | |
48 | - foreach ($items as $item) { |
|
48 | + foreach ($items as $item) { |
|
49 | 49 | |
50 | 50 | $item = "$path/$item"; |
51 | 51 | |
52 | - if (is_dir($item)) { |
|
52 | + if (is_dir($item)) { |
|
53 | 53 | return $this->scan($item, $pattern); |
54 | 54 | } |
55 | 55 |