mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
(Retrofit from trunk)
r4961 N°1065 Fixed a regression introduced in r4965. --------------------- r4960 N.1065 Fix performance issues. Limit APC emulation cache entries to avoid disk saturation. New configuration entry added: 'apc_cache_emulation.max_entries'. --------------------- r4956 N.1065 Fix performance issues. ormLinkSet creates the objects on demand. --------------------- r4954 APC emulation using files when APC or APCu is not installed. SVN:2.4[4984]
This commit is contained in:
@@ -89,4 +89,10 @@ function apc_cache_info_compat()
|
||||
$aCacheUserData = @apc_cache_info('user');
|
||||
}
|
||||
return $aCacheUserData;
|
||||
}
|
||||
|
||||
// Cache emulation
|
||||
if (!function_exists('apc_store'))
|
||||
{
|
||||
require_once(APPROOT.'core/apc-emulation.php');
|
||||
}
|
||||
Reference in New Issue
Block a user