mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 09:46:46 +02:00
Merge pull request #1368 from EXreaction/ticket/11479
[ticket/11479] Fix install/update (rebuild container)
This commit is contained in:
@@ -72,7 +72,13 @@ class install_update extends module
|
|||||||
function main($mode, $sub)
|
function main($mode, $sub)
|
||||||
{
|
{
|
||||||
global $phpbb_style, $template, $phpEx, $phpbb_root_path, $user, $db, $config, $cache, $auth, $language;
|
global $phpbb_style, $template, $phpEx, $phpbb_root_path, $user, $db, $config, $cache, $auth, $language;
|
||||||
global $request, $phpbb_admin_path, $phpbb_adm_relative_path;
|
global $request, $phpbb_admin_path, $phpbb_adm_relative_path, $phpbb_container;
|
||||||
|
|
||||||
|
// Create a normal container now
|
||||||
|
$phpbb_container = phpbb_create_default_container($phpbb_root_path, $phpEx);
|
||||||
|
|
||||||
|
// Writes into global $cache
|
||||||
|
$cache = $phpbb_container->get('cache');
|
||||||
|
|
||||||
$this->tpl_name = 'install_update';
|
$this->tpl_name = 'install_update';
|
||||||
$this->page_title = 'UPDATE_INSTALLATION';
|
$this->page_title = 'UPDATE_INSTALLATION';
|
||||||
|
Reference in New Issue
Block a user