Skip to content
Permalink
Browse files

Merge branch 'b-6.x'

  • Loading branch information...
Sieg committed Feb 19, 2019
2 parents 9fdd10e + 234d45f commit c526f8db393e20276116c8474d84105250f72ec0
Showing with 2 additions and 1 deletion.
  1. +1 −0 CHANGELOG.md
  2. +1 −1 source/Core/FileCache.php
@@ -142,6 +142,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
### Fixed
- Ensure temp file in tmp directory [PR-683](https://github.com/OXID-eSales/oxideshop_ce/pull/683)
## [6.3.2] - 2019-01-22
@@ -55,7 +55,7 @@ public function setToCache($key, $value)
$fileName = $this->getCacheFilePath($key);
$cacheDirectory = $this->getCacheDir();
$tmpFile = $cacheDirectory . basename($fileName) . uniqid('.temp', true) . '.txt';
$tmpFile = $cacheDirectory . "/" . basename($fileName) . uniqid('.temp', true) . '.txt';
file_put_contents($tmpFile, serialize($value), LOCK_EX);
rename($tmpFile, $fileName);

0 comments on commit c526f8d

Please sign in to comment.
You can’t perform that action at this time.