diff options
author | Christoph Burschka | 2012-10-30 02:45:21 +0100 |
---|---|---|
committer | Christoph Burschka | 2012-10-30 02:45:21 +0100 |
commit | 7fc3addf1b2796998fe0350cd4c5d7513612b1ba (patch) | |
tree | da7b47008fc112e53aee5ab51b8a39f6be4f54f2 /main.php | |
download | ejabberd-auth-php-7fc3addf1b2796998fe0350cd4c5d7513612b1ba.tar.gz |
Initial checkin
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(); |