diff options
author | Mate Bartus <mate.bartus@gmail.com> | 2015-11-04 17:25:38 +0100 |
---|---|---|
committer | Mate Bartus <mate.bartus@gmail.com> | 2015-11-08 18:09:04 +0100 |
commit | 8d178f15f06e0f6b5e64447dc07157a796645572 (patch) | |
tree | 0e212ddba45d280c95e1d843b8fe3feba09eff60 /phpBB/install | |
parent | c783c37c73beb2756d900f18dd24430c1b9f41ff (diff) | |
download | forums-8d178f15f06e0f6b5e64447dc07157a796645572.tar forums-8d178f15f06e0f6b5e64447dc07157a796645572.tar.gz forums-8d178f15f06e0f6b5e64447dc07157a796645572.tar.bz2 forums-8d178f15f06e0f6b5e64447dc07157a796645572.tar.xz forums-8d178f15f06e0f6b5e64447dc07157a796645572.zip |
[ticket/14270] Purge cache when the installer is finished
PHPBB3-14270
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/app.php | 7 | ||||
-rw-r--r-- | phpBB/install/startup.php | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/install/app.php b/phpBB/install/app.php index 9346351aba..9664f92cf1 100644 --- a/phpBB/install/app.php +++ b/phpBB/install/app.php @@ -30,7 +30,6 @@ $phpbb_filesystem = $phpbb_installer_container->get('filesystem'); /** @var \phpbb\template\template $template */ $template = $phpbb_installer_container->get('template'); - // Path to templates $paths = array($phpbb_root_path . 'install/update/new/adm/style', $phpbb_admin_path . 'style'); $paths = array_filter($paths, 'is_dir'); @@ -42,17 +41,17 @@ $template->set_custom_style(array( ), ), $paths); -/* @var $phpbb_dispatcher \phpbb\event\dispatcher */ +/** @var $phpbb_dispatcher \phpbb\event\dispatcher */ $phpbb_dispatcher = $phpbb_installer_container->get('dispatcher'); /** @var \phpbb\language\language $language */ $language = $phpbb_installer_container->get('language'); $language->add_lang(array('common', 'acp/common', 'acp/board', 'install', 'posting')); -/* @var $http_kernel \Symfony\Component\HttpKernel\HttpKernel */ +/** @var $http_kernel \Symfony\Component\HttpKernel\HttpKernel */ $http_kernel = $phpbb_installer_container->get('http_kernel'); -/* @var $symfony_request \phpbb\symfony_request */ +/** @var $symfony_request \phpbb\symfony_request */ $symfony_request = $phpbb_installer_container->get('symfony_request'); $response = $http_kernel->handle($symfony_request); $response->send(); diff --git a/phpBB/install/startup.php b/phpBB/install/startup.php index 766f6be38a..b40face4f8 100644 --- a/phpBB/install/startup.php +++ b/phpBB/install/startup.php @@ -81,4 +81,5 @@ $config_path = (file_exists($other_config_path . '/installer/config.yml')) ? $ot $phpbb_installer_container = $phpbb_installer_container_builder ->with_config_path($config_path) + ->with_custom_parameters(array('cache.driver.class' => 'phpbb\cache\driver\file')) ->get_container(); |