|
@@ -124,7 +124,7 @@ |
|
|
block discarded – undo |
|
124
|
124
|
$files = glob($pattern = sprintf('%s/%s', $directory, $suffix), 0); |
|
125
|
125
|
|
|
126
|
126
|
// parse the subdirectories also |
|
127
|
|
- $dirs = glob($directory. DIRECTORY_SEPARATOR . '*', GLOB_ONLYDIR|GLOB_NOSORT|GLOB_BRACE); |
|
|
127
|
+ $dirs = glob($directory . DIRECTORY_SEPARATOR . '*', GLOB_ONLYDIR | GLOB_NOSORT | GLOB_BRACE); |
|
128
|
128
|
|
|
129
|
129
|
// iterate over the subdirectories for its files |
|
130
|
130
|
foreach ($dirs as $dir) { |
Please login to merge, or discard this patch.