DataCache util

This commit is contained in:
Yuri Kuznetsov
2020-09-20 15:56:03 +03:00
parent 7aa439efbb
commit 91c5caee63
14 changed files with 581 additions and 107 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class Module
$this->data = $this->unifier->unify($this->paths, true);
if ($this->useCache) {
$result = $this->fileManager->putPhpContents($this->cacheFile, $this->data);
$result = $this->fileManager->putPhpContents($this->cacheFile, $this->data, false, true);
if ($result === false) {
throw new Error('Module: Could not save unified module data.');