$logger
$logger : \Psr\Log\LoggerInterface
Base class for session handling
$logger : \Psr\Log\LoggerInterface
setLogger(\Psr\Log\LoggerInterface $logger)
Sets a logger.
\Psr\Log\LoggerInterface | $logger |
__construct(\CodeIgniter\Config\BaseConfig $config, string $ipAddress)
Constructor
\CodeIgniter\Config\BaseConfig | $config | |
string | $ipAddress |
fail() : boolean
Fail
Drivers other than the 'files' one don't (need to) use the session.save_path INI setting, but that leads to confusing error messages emitted by PHP when open() or write() fail, as the message contains session.save_path ... To work around the problem, the drivers will call this method so that the INI is set just in time for the error message to be properly generated.
Loading…