| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 73 | protected function globRecursive($pattern, $flags = 0) |
||
| 74 | { |
||
| 75 | $files = glob($pattern, $flags); |
||
| 76 | |||
| 77 | foreach (glob(dirname($pattern).'/*', GLOB_ONLYDIR|GLOB_NOSORT) as $dir) { |
||
| 78 | $files = array_merge($files, $this->globRecursive($dir .'/'. basename($pattern), $flags)); |
||
| 79 | } |
||
| 80 | |||
| 81 | return $files; |
||
| 82 | } |
||
| 83 | } |
||
| 84 |