forked from extern/egroupware
fixed exception stalling new installs
This commit is contained in:
parent
ad6cf1d8ae
commit
64c076c536
@ -128,7 +128,12 @@ class egw_cache
|
||||
{
|
||||
return null;
|
||||
}
|
||||
$data = $provider->get($keys=self::keys($level,$app,$location));
|
||||
try {
|
||||
$data = $provider->get($keys=self::keys($level,$app,$location));
|
||||
}
|
||||
catch(Exception $e) {
|
||||
$data = null;
|
||||
}
|
||||
if (is_null($data) && !is_null($callback))
|
||||
{
|
||||
//error_log(__METHOD__."($level,$app,$location,".array2string($callback).','.array2string($callback_params).",$expiration) calling calback to create data.");
|
||||
|
@ -161,6 +161,7 @@ foreach(array(
|
||||
'sessions_checkip' => 'True',
|
||||
'image_type' => '1',
|
||||
'asyncservice' => 'fallback',
|
||||
'install_id' => md5(microtime(true).common::randomstring(15)),
|
||||
) as $name => $value)
|
||||
{
|
||||
$oProc->insert($GLOBALS['egw_setup']->config_table,array(
|
||||
|
Loading…
Reference in New Issue
Block a user