mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
Merge branch '3.2.x'
* 3.2.x: [ticket/15678] Fix build and cache flow for container
This commit is contained in:
commit
844ecb88b4
1 changed files with 7 additions and 0 deletions
|
@ -143,6 +143,13 @@ class container_builder
|
||||||
{
|
{
|
||||||
if ($this->use_extensions)
|
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());
|
require($this->get_autoload_filename());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue