We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9de95c commit b8a8450Copy full SHA for b8a8450
src/phpFastCache/Core/Pool/IO/IOHelperTrait.php
@@ -93,7 +93,7 @@ public function getPath($readonly = false)
93
* return the temp dir
94
*/
95
if ($readonly === true) {
96
- if($this->config[ 'autoTmpFallback' ] && (@file_exists($full_path) || !@is_writable($full_path))){
+ if($this->config[ 'autoTmpFallback' ] && (!@file_exists($full_path) || !@is_writable($full_path))){
97
return $tmp_dir;
98
}
99
return $full_path;
0 commit comments