diff options
Diffstat (limited to 'plugins/phpbb3/phpbb3.module')
-rw-r--r-- | plugins/phpbb3/phpbb3.module | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/phpbb3/phpbb3.module b/plugins/phpbb3/phpbb3.module index 4c58762..7502094 100644 --- a/plugins/phpbb3/phpbb3.module +++ b/plugins/phpbb3/phpbb3.module @@ -1,10 +1,11 @@ <?php function phpbb3_init($config) { + global $phpbb_root_path; $phpbb_root_path = $config['root_path']; // Bootstrap the phpBB system. require_once __DIR__ . '/phpbb3_bootstrap.php'; // Load the plugin. - require_once __DIR__ . '/JabberAuthPhpBB3.php'; - return new JabberAuthPhpBB3($config['auth'], $config['db']); + require_once __DIR__ . '/BridgePhpBB3.php'; + return new BridgePhpBB3($auth, $db); } |