|
@@ -53,7 +53,7 @@ discard block |
|
|
block discarded – undo |
|
53
|
53
|
$path = realpath($path); |
|
54
|
54
|
$path_len = strlen($path); |
|
55
|
55
|
|
|
56
|
|
- foreach (glob($path. \DIRECTORY_SEPARATOR . '*', \GLOB_NOSORT | \GLOB_NOESCAPE) as $file) { |
|
|
56
|
+ foreach (glob($path . \DIRECTORY_SEPARATOR . '*', \GLOB_NOSORT | \GLOB_NOESCAPE) as $file) { |
|
57
|
57
|
|
|
58
|
58
|
if (is_dir($file)) { |
|
59
|
59
|
$this->addVendor(substr($file, $path_len + 1), $file); |
|
@@ -76,7 +76,7 @@ discard block |
|
|
block discarded – undo |
|
76
|
76
|
{ |
|
77
|
77
|
$path_len = strlen($path); |
|
78
|
78
|
|
|
79
|
|
- foreach (glob($path. \DIRECTORY_SEPARATOR . '*', \GLOB_NOSORT | \GLOB_NOESCAPE) as $file) { |
|
|
79
|
+ foreach (glob($path . \DIRECTORY_SEPARATOR . '*', \GLOB_NOSORT | \GLOB_NOESCAPE) as $file) { |
|
80
|
80
|
|
|
81
|
81
|
if (is_dir($file)) { |
|
82
|
82
|
$this->addModule($vendor_name, substr($file, $path_len + 1), $file); |
Please login to merge, or discard this patch.