summaryrefslogtreecommitdiff
path: root/plugins/phpbb4/phpbb4.module
blob: 22b4de6fe57b219cc26de5c15478e26de571ec1d (plain)
1
2
3
4
5
6
7
8
9
10
<?php

function phpbb4_init($config) {
  $phpbb_root_path = $config['root_path'];
  // Bootstrap the phpBB system.
  require_once __DIR__ . '/phpbb4_bootstrap.php';
  // Load the plugin.
  require_once __DIR__ . '/JabberAuthPhpBB4.php';
  return new JabberAuthPhpBB4($config['auth'], $config['db']);
}