mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
$config to phpbb::$config
git-svn-id: file:///svn/phpbb/trunk@9242 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -243,9 +243,7 @@ $auth = new auth();
|
||||
$template = new template();
|
||||
|
||||
// Set some standard variables we want to force
|
||||
$config = array(
|
||||
'load_tplcompile' => '1'
|
||||
);
|
||||
phpbb::$config['load_tplcompile'] = '1';
|
||||
|
||||
$template->set_custom_template('../adm/style', 'admin');
|
||||
$template->assign_var('T_TEMPLATE_PATH', '../adm/style');
|
||||
@@ -284,7 +282,7 @@ class module
|
||||
*/
|
||||
function create($module_type, $module_url, $selected_mod = false, $selected_submod = false)
|
||||
{
|
||||
global $db, $config;
|
||||
global $db;
|
||||
|
||||
$module = array();
|
||||
|
||||
|
Reference in New Issue
Block a user