Skip to content
Permalink
Browse files

Revert atomic directory creation.

The error suppression has caused issues for a few users, so preventing
a potential race condition is less important.

Refs #11251
  • Loading branch information...
markstory committed Sep 29, 2017
1 parent aeff92a commit 3b26a55b14bc3288560addc34dcd1085c338a0fa
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Cache/Engine/FileEngine.php
@@ -380,9 +380,9 @@ protected function _setKey($key, $createKey = false)
}
$dir = $this->_config['path'] . $groups;
// @codingStandardsIgnoreStart
@mkdir($dir, 0775, true);
// @codingStandardsIgnoreEnd
if (!is_dir($dir)) {
mkdir($dir, 0775, true);
}
$path = new SplFileInfo($dir . $key);

0 comments on commit 3b26a55

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