diff options
Diffstat (limited to 'plugins/phpbb30/phpbb30.module')
-rw-r--r-- | plugins/phpbb30/phpbb30.module | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/phpbb30/phpbb30.module b/plugins/phpbb30/phpbb30.module new file mode 100644 index 0000000..7502094 --- /dev/null +++ b/plugins/phpbb30/phpbb30.module @@ -0,0 +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__ . '/BridgePhpBB3.php'; + return new BridgePhpBB3($auth, $db); +} |