Skip to content
Permalink
Browse files

Merge branch 'b-6.1.x' into b-6.x

  • Loading branch information...
Sieg committed Feb 19, 2019
2 parents 0c5a07e + 1e8d55d commit 234d45f11223056018bd76aa0c0cc0163c847ff5
Showing with 2 additions and 1 deletion.
  1. +1 −0 CHANGELOG.md
  2. +1 −1 source/Core/FileCache.php
@@ -70,6 +70,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 234d45f

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