ignore exception, as it blocks session creation, if database is not writable

This commit is contained in:
Ralf Becker 2020-02-19 15:39:13 +01:00
parent 12c2984acf
commit 4a14e0d36b

View File

@ -252,7 +252,13 @@ class Session
$config->value('num_unsuccessful_ip',$GLOBALS['egw_info']['server']['num_unsuccessful_ip']);
$config->value('install_id',$GLOBALS['egw_info']['server']['install_id']);
$config->value('max_history',$GLOBALS['egw_info']['server']['max_history']);
$config->save_repository();
try
{
$config->save_repository();
}
catch (Db\Exception $e) {
_egw_log_exception($e); // ignore exception, as it blocks session creation, if database is not writable
}
}
}
self::set_cookiedomain();