Skip to content

Commit

Permalink
Merge pull request #117 from Jakub-Fajkus/fix-ci-build
Browse files Browse the repository at this point in the history
revert
  • Loading branch information
Spamercz authored Mar 18, 2022
2 parents c35445f + 6792cf2 commit 24344e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Kdyby/Redis/DI/RedisExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ protected function loadSession(array $config): void

$clientConfig = $config['clients'][NULL];

$sessionConfig = \Nette\DI\Config\Helpers::merge([
$sessionConfig = \Nette\DI\Config\Helpers::merge(\is_array($config['session']) ? $config['session'] : [], [
'host' => $clientConfig['host'],
'port' => $clientConfig['port'],
'weight' => 1,
Expand All @@ -179,7 +179,7 @@ protected function loadSession(array $config): void
'connectionAttempts' => $clientConfig['connectionAttempts'],
'persistent' => $clientConfig['persistent'],
'versionCheck' => $clientConfig['versionCheck'],
], \is_array($config['session']) ? $config['session'] : []);
]);

$sessionConfig['debugger'] = FALSE;

Expand Down

0 comments on commit 24344e4

Please sign in to comment.