isDir() && substr($fileinfo->getFilename(), 0, 1) != '.') { $name = $fileinfo->getFilename(); $extension = array( 'ext_name' => $name, 'ext_active' => true, 'ext_path' => 'ext/' . $name . '/', ); $extensions[$name] = $extension; } } ksort($extensions); parent::__construct($phpbb_root_path, $extensions); } }