diff options
Diffstat (limited to 'main.php')
-rw-r--r-- | main.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main.php b/main.php new file mode 100644 index 0000000..fee0f33 --- /dev/null +++ b/main.php @@ -0,0 +1,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(); |