Skip to content

Commit b8a8450

Browse files
committed
Attempting to fix #373 again and again. And again.
1 parent c9de95c commit b8a8450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phpFastCache/Core/Pool/IO/IOHelperTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function getPath($readonly = false)
9393
* return the temp dir
9494
*/
9595
if ($readonly === true) {
96-
if($this->config[ 'autoTmpFallback' ] && (@file_exists($full_path) || !@is_writable($full_path))){
96+
if($this->config[ 'autoTmpFallback' ] && (!@file_exists($full_path) || !@is_writable($full_path))){
9797
return $tmp_dir;
9898
}
9999
return $full_path;

0 commit comments

Comments
 (0)