We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fae5cd0 commit c07c566Copy full SHA for c07c566
1 file changed
lib/Integration/DI/CompilerContainer.php
@@ -122,10 +122,13 @@ public function cacheContainer(
122
123
$hasContainerFresh = $containerConfigCache->isFresh();
124
125
- // Если /bitrix/.settings.php изменился - пересобрать дамп контейнера.
126
- if (!$this->isConfigFresh('/bitrix/.settings.php')) {
127
- $this->createConfigMeta('/bitrix/.settings.php');
128
- $hasContainerFresh = false;
+ $configsBag = ['/bitrix/.settings.php', '/bitrix/.settings_extra.php'];
+ foreach ($configsBag as $configFile) {
+ // Если конфиг-файл изменился - пересобрать дамп контейнера.
+ if (file_exists($this->projectRoot . $configFile) && !$this->isConfigFresh($configFile)) {
129
+ $this->createConfigMeta($configFile);
130
+ $hasContainerFresh = false;
131
+ }
132
}
133
134
if (!$hasContainerFresh) {
0 commit comments