diff options
| author | Nils Adermann <naderman@naderman.de> | 2013-04-25 04:01:38 -0700 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2013-04-25 04:01:38 -0700 |
| commit | 7b144bbff2968b8897359b7954f048ce5eb78455 (patch) | |
| tree | d22e4fb4b65d84f835ec8c5573145269b7187f7d /phpBB/includes/extension/manager.php | |
| parent | 6d0b183553a63156cbeb4f515bbc22c728c63008 (diff) | |
| parent | 9c4553c41f0e0f2c28fb95b5e56886f77cb759ba (diff) | |
| download | forums-7b144bbff2968b8897359b7954f048ce5eb78455.tar forums-7b144bbff2968b8897359b7954f048ce5eb78455.tar.gz forums-7b144bbff2968b8897359b7954f048ce5eb78455.tar.bz2 forums-7b144bbff2968b8897359b7954f048ce5eb78455.tar.xz forums-7b144bbff2968b8897359b7954f048ce5eb78455.zip | |
Merge pull request #1369 from EXreaction/ticket/11335
Ticket/11335
Diffstat (limited to 'phpBB/includes/extension/manager.php')
| -rw-r--r-- | phpBB/includes/extension/manager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/extension/manager.php b/phpBB/includes/extension/manager.php index de9a3937c3..a1022762b8 100644 --- a/phpBB/includes/extension/manager.php +++ b/phpBB/includes/extension/manager.php @@ -51,7 +51,7 @@ class phpbb_extension_manager * @param phpbb_cache_driver_interface $cache A cache instance or null * @param string $cache_name The name of the cache variable, defaults to _ext */ - public function __construct(ContainerInterface $container, phpbb_db_driver $db, phpbb_config $config, phpbb_db_migrator $migrator, phpbb_filesystem $filesystem, $extension_table, $phpbb_root_path, $php_ext = '.php', phpbb_cache_driver_interface $cache = null, $cache_name = '_ext') + public function __construct(ContainerInterface $container, phpbb_db_driver $db, phpbb_config $config, phpbb_db_migrator $migrator, phpbb_filesystem $filesystem, $extension_table, $phpbb_root_path, $php_ext = 'php', phpbb_cache_driver_interface $cache = null, $cache_name = '_ext') { $this->container = $container; $this->phpbb_root_path = $phpbb_root_path; @@ -412,7 +412,7 @@ class phpbb_extension_manager RecursiveIteratorIterator::SELF_FIRST); foreach ($iterator as $file_info) { - if ($file_info->isFile() && $file_info->getFilename() == 'ext' . $this->php_ext) + if ($file_info->isFile() && $file_info->getFilename() == 'ext.' . $this->php_ext) { $ext_name = $iterator->getInnerIterator()->getSubPath(); |
