From 1303de1c569b7d389af09874ab9dc168a0027bbc Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 11 Apr 2010 16:03:26 +0000 Subject: Add other globals from M2F. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6657 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/PhpBB3.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/PhpBB3.php') 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); -- cgit v1.2.3