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 f099f61 + f16d1db commit 406e59eCopy full SHA for 406e59e
lib/Phpfastcache/Drivers/Redis/Driver.php
@@ -85,10 +85,9 @@ protected function driverConnect(): bool
85
$this->instance->setOption(RedisClient::OPT_PREFIX, $this->getConfig()->getOptPrefix());
86
}
87
88
- if (!$this->getConfig()->getPath()) {
89
- if ($this->getConfig()->getPassword() && !$this->instance->auth($this->getConfig()->getPassword())) {
90
- return false;
91
- }
+
+ if ($this->getConfig()->getPassword() && !$this->instance->auth($this->getConfig()->getPassword())) {
+ return false;
92
93
94
if ($this->getConfig()->getDatabase() !== null) {
0 commit comments