1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 15:01:33 +02:00

[ticket/10714] Get log from container in install, update and download/file

PHPBB3-10714
This commit is contained in:
Joas Schilling
2013-03-04 11:25:27 +01:00
parent e512ad6726
commit 7423d48757
3 changed files with 5 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ class install_install extends module
function main($mode, $sub)
{
global $lang, $template, $language, $phpbb_root_path, $phpEx;
global $phpbb_container, $cache;
global $phpbb_container, $cache, $phpbb_log;
switch ($sub)
{
@@ -105,8 +105,9 @@ class install_install extends module
// Create a normal container now
$phpbb_container = phpbb_create_default_container($phpbb_root_path, $phpEx);
// Sets the global $cache variable
// Sets the global variables
$cache = $phpbb_container->get('cache');
$phpbb_log = $phpbb_container->get('log');
$this->build_search_index($mode, $sub);
$this->add_modules($mode, $sub);