From 12f6c2acb29cbea6f41d1152eb27affa358c196f Mon Sep 17 00:00:00 2001 From: Christoph Burschka Date: Tue, 30 Oct 2012 15:28:52 +0100 Subject: Refactor to a general, flexible and extensible architecture. --- plugins/phpbb3/phpbb_bootstrap.php | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 plugins/phpbb3/phpbb_bootstrap.php (limited to 'plugins/phpbb3/phpbb_bootstrap.php') diff --git a/plugins/phpbb3/phpbb_bootstrap.php b/plugins/phpbb3/phpbb_bootstrap.php new file mode 100644 index 0000000..4ede950 --- /dev/null +++ b/plugins/phpbb3/phpbb_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