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;
|
return null;
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
$data = $provider->get($keys=self::keys($level,$app,$location));
|
$data = $provider->get($keys=self::keys($level,$app,$location));
|
||||||
|
}
|
||||||
|
catch(Exception $e) {
|
||||||
|
$data = null;
|
||||||
|
}
|
||||||
if (is_null($data) && !is_null($callback))
|
if (is_null($data) && !is_null($callback))
|
||||||
{
|
{
|
||||||
//error_log(__METHOD__."($level,$app,$location,".array2string($callback).','.array2string($callback_params).",$expiration) calling calback to create data.");
|
//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',
|
'sessions_checkip' => 'True',
|
||||||
'image_type' => '1',
|
'image_type' => '1',
|
||||||
'asyncservice' => 'fallback',
|
'asyncservice' => 'fallback',
|
||||||
|
'install_id' => md5(microtime(true).common::randomstring(15)),
|
||||||
) as $name => $value)
|
) as $name => $value)
|
||||||
{
|
{
|
||||||
$oProc->insert($GLOBALS['egw_setup']->config_table,array(
|
$oProc->insert($GLOBALS['egw_setup']->config_table,array(
|
||||||
|
Loading…
Reference in New Issue
Block a user