fixed exception stalling new installs

This commit is contained in:
Ralf Becker 2011-11-10 10:09:37 +00:00
parent ad6cf1d8ae
commit 64c076c536
2 changed files with 7 additions and 1 deletions

View File

@ -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.");

View File

@ -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(