summaryrefslogtreecommitdiff
path: root/main.php
blob: fee0f33f3a669b1e15f8c7ced07e7ab779a3e752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/php
<?php
// by Aran, October 2012

// Bootstrap the phpBB system.
define('ROOT', __DIR__);
require_once __DIR__ . '/config.php';
require_once __DIR__ . '/phpbb-bridge/phpbb_bootstrap.php';

// Load the classes.
require_once __DIR__ . '/classes/JabberAuth.php';
require_once __DIR__ . '/classes/JabberAuthPhpBB.php';

// Launch the script.
$main = new JabberAuthPhpBB($auth, $db, $log_path);
$main->run();