|
@@ -35,7 +35,7 @@ |
|
|
block discarded – undo |
|
35
|
35
|
$context['files'] = ''; |
|
36
|
36
|
$path = realpath(dirname(__FILE__).'/../library/Requests'); |
|
37
|
37
|
foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path), RecursiveIteratorIterator::LEAVES_ONLY) as $file) { |
|
38
|
|
- if (preg_match('/\.php$/', $file)) { |
|
|
38
|
+ if (preg_match('/\.php$/', $file)) { |
|
39
|
39
|
$name = str_replace($path . DIRECTORY_SEPARATOR, '', $file); |
|
40
|
40
|
$name = str_replace(DIRECTORY_SEPARATOR, '/', $name); |
|
41
|
41
|
$context['files'][] = "\t\t\t\t\t" . '<file install-as="Requests/' . $name . '" name="' . $name . '" role="php" />'; |
Please login to merge, or discard this patch.