Skip to content

Commit

Permalink
fix redis multi host dsn not recognized
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Christoph Beyer committed Dec 13, 2019
1 parent 88ed817 commit d2b0568
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -50,7 +50,7 @@ public static function createHandler($connection): AbstractSessionHandler
case 0 === strpos($connection, 'file://'):
return new StrictSessionHandler(new NativeFileSessionHandler(substr($connection, 7)));

case 0 === strpos($connection, 'redis://'):
case 0 === strpos($connection, 'redis:'):
case 0 === strpos($connection, 'rediss://'):
case 0 === strpos($connection, 'memcached://'):
if (!class_exists(AbstractAdapter::class)) {
Expand Down

0 comments on commit d2b0568

Please sign in to comment.