diff options
author | Tristan Darricau <tristan.darricau@gmail.com> | 2018-07-08 18:46:33 +0200 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@gmail.com> | 2018-07-08 18:46:33 +0200 |
commit | 3d9ae6186f1e51662ab7a4c9ce1fbae9e1c0352a (patch) | |
tree | 8fb11f75fec7050107018e3fa69ebe5d1f61471a /phpBB/phpbb | |
parent | 7f76d911287cdb5010bd3ac1f17f5486bc3f30ee (diff) | |
parent | 7b44e2c791b6655380b673cf98150f48f5795d39 (diff) | |
download | forums-3d9ae6186f1e51662ab7a4c9ce1fbae9e1c0352a.tar forums-3d9ae6186f1e51662ab7a4c9ce1fbae9e1c0352a.tar.gz forums-3d9ae6186f1e51662ab7a4c9ce1fbae9e1c0352a.tar.bz2 forums-3d9ae6186f1e51662ab7a4c9ce1fbae9e1c0352a.tar.xz forums-3d9ae6186f1e51662ab7a4c9ce1fbae9e1c0352a.zip |
Merge pull request #5244 from OxCom/ticket/15678
[ticket/15678] Fix build and cache flow for container
* github.com:/phpbb/phpbb:
[ticket/15678] Fix build and cache flow for container
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/di/container_builder.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/phpbb/di/container_builder.php b/phpBB/phpbb/di/container_builder.php index ac1a1a1733..8c1ce8bde2 100644 --- a/phpBB/phpbb/di/container_builder.php +++ b/phpBB/phpbb/di/container_builder.php @@ -143,6 +143,13 @@ class container_builder { if ($this->use_extensions) { + $autoload_cache = new ConfigCache($this->get_autoload_filename(), defined('DEBUG')); + if (!$autoload_cache->isFresh()) + { + // autoload cache should be refreshed + $this->load_extensions(); + } + require($this->get_autoload_filename()); } |