Skip to content

Commit

Permalink
When using system tmp dir, add subfolder to avoid permission issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed Mar 11, 2015
1 parent c644474 commit 41fa40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cache/Engine/FileEngine.php
Expand Up @@ -88,7 +88,7 @@ public function init(array $config = [])
parent::init($config);

if ($this->_config['path'] === null) {
$this->_config['path'] = sys_get_temp_dir();
$this->_config['path'] = sys_get_temp_dir() . DS . 'cake_cache' . DS;
}
if (DS === '\\') {
$this->_config['isWindows'] = true;
Expand Down

0 comments on commit 41fa40d

Please sign in to comment.