summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-11 16:03:26 +0000
committeruckelman <uckelman@nomic.net>2010-04-11 16:03:26 +0000
commit1303de1c569b7d389af09874ab9dc168a0027bbc (patch)
treeb3d23344c0403c74d7afc94f04be7dc9f7dc8996 /src
parentd6643e318d5125f7919cac388d78ae539a9cb880 (diff)
Add other globals from M2F.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6657 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src')
-rw-r--r--src/PhpBB3.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/PhpBB3.php b/src/PhpBB3.php
index 1515aa8..0991a20 100644
--- a/src/PhpBB3.php
+++ b/src/PhpBB3.php
@@ -145,8 +145,11 @@ class PhpBB3 {
$userId = $this->getUserId($msg->getFrom());
$userName = $this->getUserName($userId);
+ # bring in the PhpBB globals
+ global $phpEx, $phpbb_root_path, $user, $auth,
+ $template, $cache, $db, $config;
+
# authenticate ourselves
- global $phpEx, $phpbb_root_path, $user, $auth;
$user->session_create($userId);
$auth->acl($user->data);