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 707803e + b4ff0bd commit b0ab46cCopy full SHA for b0ab46c
lib/Phpfastcache/Drivers/Redis/Driver.php
@@ -107,10 +107,8 @@ protected function driverConnect(): bool
107
$this->instance->setOption(RedisClient::OPT_PREFIX, $this->getConfig()->getOptPrefix());
108
}
109
110
- if (!$this->getConfig()->getPath()) {
111
- if ($this->getConfig()->getPassword() && !$this->instance->auth($this->getConfig()->getPassword())) {
112
- return false;
113
- }
+ if ($this->getConfig()->getPassword() && !$this->instance->auth($this->getConfig()->getPassword())) {
+ return false;
114
115
116
if ($this->getConfig()->getDatabase() !== null) {
0 commit comments