mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-15 21:44:56 +01:00
Guess this may come in handy
git-svn-id: file:///svn/phpbb/trunk@4345 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5ab81af82e
commit
4a75a2512b
@ -169,6 +169,7 @@ define('SESSIONS_TABLE', $table_prefix.'sessions');
|
||||
define('SMILIES_TABLE', $table_prefix.'smilies');
|
||||
define('STYLES_TABLE', $table_prefix.'styles');
|
||||
define('STYLES_TPL_TABLE', $table_prefix.'styles_template');
|
||||
define('STYLES_TPLDATA_TABLE', $table_prefix.'styles_template_data');
|
||||
define('STYLES_CSS_TABLE', $table_prefix.'styles_theme');
|
||||
define('STYLES_IMAGE_TABLE', $table_prefix.'styles_imageset');
|
||||
define('TOPICS_TABLE', $table_prefix.'topics');
|
||||
@ -188,12 +189,13 @@ set_error_handler('msg_handler');
|
||||
$user = new user();
|
||||
$auth = new auth();
|
||||
$cache = new acm();
|
||||
$template = new template();
|
||||
$db = new sql_db();
|
||||
|
||||
// Connect to DB
|
||||
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
|
||||
|
||||
$template = new template($db);
|
||||
|
||||
// Grab global variables, re-cache if necessary
|
||||
if ($config = $cache->get('config'))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user