From 7295cd958e1119dd78f120ba0d794e2af69560ee Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 9 May 2010 21:54:56 +0000 Subject: Forgot to import the phpBB db. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6840 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/PhpBB3.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PhpBB3.php b/src/PhpBB3.php index c9acd1e..6fd785f 100644 --- a/src/PhpBB3.php +++ b/src/PhpBB3.php @@ -251,6 +251,8 @@ class PhpBB3 { throw_if_null($mimetype); throw_if_null($data); + global $db; + # TODO: check that attachment is a permissible type, size # lifted from include/functions_upload.php: filespec::clean_filename() -- cgit v1.2.3