mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge pull request #2642 from Nicofuma/ticket/12762
[ticket/12762] Make ext.php optional for extensions * Nicofuma/ticket/12762: [ticket/12762] Make ext.php optional for extensions
This commit is contained in:
commit
05bcce3169
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ class manager
|
||||||
|
|
||||||
foreach ($iterator as $file_info)
|
foreach ($iterator as $file_info)
|
||||||
{
|
{
|
||||||
if ($file_info->isFile() && $file_info->getFilename() == 'ext.' . $this->php_ext)
|
if ($file_info->isFile() && $file_info->getFilename() == 'composer.json')
|
||||||
{
|
{
|
||||||
$ext_name = $iterator->getInnerIterator()->getSubPath();
|
$ext_name = $iterator->getInnerIterator()->getSubPath();
|
||||||
$composer_file = $iterator->getPath() . '/composer.json';
|
$composer_file = $iterator->getPath() . '/composer.json';
|
||||||
|
|
Loading…
Add table
Reference in a new issue