mirror of
https://github.com/marcostoll/FF.git
synced 2025-01-16 22:28:15 +01:00
[FIX] auto set custom save handler
This commit is contained in:
parent
e1b46bcb58
commit
5d0d301256
@ -350,6 +350,8 @@ class Session extends AbstractService
|
||||
if (!($sessionHandler instanceof \SessionHandlerInterface)) {
|
||||
$errors[] = '[' . $options['custom_handler'] . '] is not a \SessionHandlerInterface';
|
||||
}
|
||||
|
||||
$this->setSaveHandler($sessionHandler);
|
||||
} catch (ClassNotFoundException | ConfigurationException $exception) {
|
||||
$errors[] = 'unable to retrieve [' . $options['custom_handler'] . '] from the service factory - '
|
||||
. '[' . (string)$exception . ']';
|
||||
|
Loading…
x
Reference in New Issue
Block a user