Skip to content

Commit

Permalink
Add configCacheFileMode option
Browse files Browse the repository at this point in the history
  • Loading branch information
mougrim committed May 11, 2021
1 parent 15406ad commit 9eafb8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Listener/ConfigListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ public function onLoadModules(ModuleEvent $e)
&& false === $this->skipConfig
) {
$configFile = $this->getOptions()->getConfigCacheFile();
$this->writeArrayToFile($configFile, $this->getMergedConfig(false));
$configFileMode = $this->getOptions()->getConfigCacheFileMode();
$this->writeArrayToFile($configFile, $this->getMergedConfig(false), $configFileMode);
}

return $this;
Expand Down

0 comments on commit 9eafb8d

Please sign in to comment.