diff options
author | uckelman <uckelman@nomic.net> | 2010-05-09 21:54:56 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-05-09 21:54:56 +0000 |
commit | 7295cd958e1119dd78f120ba0d794e2af69560ee (patch) | |
tree | cc0277f272b5123297246e842329dfba4c4b942a /src/PhpBB3.php | |
parent | 7300814e51d9eae1c41ea08222f8512022eebea1 (diff) |
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
Diffstat (limited to 'src/PhpBB3.php')
-rw-r--r-- | src/PhpBB3.php | 2 |
1 files changed, 2 insertions, 0 deletions
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() |