summaryrefslogtreecommitdiff
path: root/plugins/phpbb31/phpbb31.module
blob: 03aa2a22d3cafc647c88ef3593a0927b7b821f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

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