mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
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
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user