From b04c17301ec17397f858fb8cca7cb0043c16d4d5 Mon Sep 17 00:00:00 2001 From: Christoph Burschka Date: Tue, 30 Oct 2012 15:40:38 +0100 Subject: Add phpbb4 plugin (for trunk of phpBB) --- plugins/phpbb3/phpbb3_bootstrap.php | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 plugins/phpbb3/phpbb3_bootstrap.php (limited to 'plugins/phpbb3/phpbb3_bootstrap.php') diff --git a/plugins/phpbb3/phpbb3_bootstrap.php b/plugins/phpbb3/phpbb3_bootstrap.php new file mode 100644 index 0000000..4ede950 --- /dev/null +++ b/plugins/phpbb3/phpbb3_bootstrap.php @@ -0,0 +1,40 @@ +sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, defined('PHPBB_DB_NEW_LINK') ? PHPBB_DB_NEW_LINK : false); +// We do not need this any longer, unset for safety purposes +unset($dbpasswd); +$config = $cache->obtain_config(); -- cgit v1.1