diff options
author | uckelman <uckelman@nomic.net> | 2010-11-22 22:12:50 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-11-22 22:12:50 +0000 |
commit | f74323a49897c9e646d586b68ec80cc0f3773d02 (patch) | |
tree | ac9d3e521ac4f48caf6d132821395672f532a90c /src/list_post_receive.php | |
parent | 4b810d86950d0125d5f16b80defd505f540a8bad (diff) |
Renamed $db so as not to clobber phpbb's $db global.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@7477 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src/list_post_receive.php')
-rw-r--r-- | src/list_post_receive.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/list_post_receive.php b/src/list_post_receive.php index 2c5ddc2..a8a00fe 100644 --- a/src/list_post_receive.php +++ b/src/list_post_receive.php @@ -30,14 +30,15 @@ try { require_once(__DIR__ . '/BridgeConf.php'); require_once(__DIR__ . '/BridgeImpl.php'); + require_once(__DIR__ . '/MailmanMessage.php'); + require_once(__DIR__ . '/MailmanToPhpBB3.php'); require_once(__DIR__ . '/PhpBB3Conf.php'); require_once(__DIR__ . '/PhpBB3Impl.php'); - require_once(__DIR__ . '/MailmanToPhpBB3.php'); $msg = new MailmanMessage($_POST['message']); - $db = new PDO('mysql:host=' . DB_HOST . ';dbname=' . DB, DB_USER, DB_PASS); - $bridge = new BridgeImpl($db); + $bdb = new PDO('mysql:host=' . DB_HOST . ';dbname=' . DB, DB_USER, DB_PASS); + $bridge = new BridgeImpl($bdb); $phpbb = new PhpBB3Impl(); |