mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Another attempt at properly caching image map without blowing up the cache.
This commit is contained in:
parent
cabf2f2e75
commit
6e98e917b6
@ -924,9 +924,13 @@ class common
|
||||
$app_map[$name] = egw_vfs::download_url($img);
|
||||
}
|
||||
}
|
||||
egw_cache::setInstance(__CLASS__, $cache_name, $map, 86400); // cache for one day
|
||||
}
|
||||
else if ($dir)
|
||||
{
|
||||
return $map;
|
||||
}
|
||||
//error_log(__METHOD__."('$template_set') took ".(microtime(true)-$starttime).' secs');
|
||||
egw_cache::setInstance(__CLASS__, $cache_name, $map, 86400); // cache for one day
|
||||
//echo "<p>template_set=".array2string($template_set)."</p>\n"; _debug_array($map);
|
||||
return $map;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user