mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
[ticket/12762] Make ext.php optional for extensions
PHPBB3-12762
This commit is contained in:
@@ -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';
|
||||||
|
Reference in New Issue
Block a user