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.
2 parents a7d14f6 + ad0d4fc commit 6a6ed36Copy full SHA for 6a6ed36
Sources/Cache/APIs/Sqlite.php
@@ -79,7 +79,7 @@ public function connect(): bool
79
{
80
$database = $this->cachedir . '/' . 'SQLite3Cache.db3';
81
82
- if (!is_writable($database) || !is_writeable($this->cachedir)) {
+ if ((file_exists($database) && !is_writable($database)) || !is_writeable($this->cachedir)) {
83
return false;
84
}
85
0 commit comments