aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/helper/container_factory.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/install/helper/container_factory.php')
-rw-r--r--phpBB/phpbb/install/helper/container_factory.php5
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