diff options
| author | Mate Bartus <mate.bartus@gmail.com> | 2015-07-23 20:50:33 +0200 |
|---|---|---|
| committer | Mate Bartus <mate.bartus@gmail.com> | 2015-07-23 20:50:33 +0200 |
| commit | fbd5929606169d3f780f0a59760c171b20bd906d (patch) | |
| tree | f7aa8cc2ad7933df8ef2b16cf08a01c3051ffcc5 /phpBB/phpbb/install/helper/container_factory.php | |
| parent | dd31020fb3dd4ab96b48dd1854f73190900319b1 (diff) | |
| download | forums-fbd5929606169d3f780f0a59760c171b20bd906d.tar forums-fbd5929606169d3f780f0a59760c171b20bd906d.tar.gz forums-fbd5929606169d3f780f0a59760c171b20bd906d.tar.bz2 forums-fbd5929606169d3f780f0a59760c171b20bd906d.tar.xz forums-fbd5929606169d3f780f0a59760c171b20bd906d.zip | |
[ticket/13740] Login admin when install finished
PHPBB3-13740
Diffstat (limited to 'phpBB/phpbb/install/helper/container_factory.php')
| -rw-r--r-- | phpBB/phpbb/install/helper/container_factory.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/phpbb/install/helper/container_factory.php b/phpBB/phpbb/install/helper/container_factory.php index eb44b470b7..e09e43be34 100644 --- a/phpBB/phpbb/install/helper/container_factory.php +++ b/phpBB/phpbb/install/helper/container_factory.php @@ -13,6 +13,7 @@ namespace phpbb\install\helper; +use phpbb\cache\driver\dummy; use phpbb\install\exception\cannot_build_container_exception; class container_factory @@ -152,6 +153,10 @@ class container_factory // this container $this->container->register('request')->setSynthetic(true); $this->container->set('request', $this->request); + + // Replace cache service, as config gets cached, and we don't want that + $this->container->register('cache.driver')->setSynthetic(true); + $this->container->set('cache.driver', new dummy()); $this->container->compile(); // Restore super globals to previous state |
