@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | if (!isset($this->tmp[ $full_pathx ]) || (!@file_exists($full_path) || !@is_writable($full_path))) { |
76 | 76 | if (!@file_exists($full_path)) { |
77 | 77 | @mkdir($full_path, $this->setChmodAuto(), true); |
78 | - }else if (!@is_writable($full_path)) { |
|
78 | + } else if (!@is_writable($full_path)) { |
|
79 | 79 | @chmod($full_path, $this->setChmodAuto()); |
80 | 80 | } |
81 | 81 | |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | if(!rename($tmpFilename, $file)){ |
284 | 284 | throw new phpFastCacheIOException(sprintf('Failed to rename %s to %s', $tmpFilename, $file)); |
285 | 285 | } |
286 | - }else{ |
|
286 | + } else{ |
|
287 | 287 | $f = fopen($file, 'w+'); |
288 | 288 | $octetWritten = fwrite($f, $data); |
289 | 289 | fclose($f); |