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 3d9d009 commit ad0d4fcCopy full SHA for ad0d4fc
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