mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°4125 - Add a warning log when corrupted data returned by APCu
This commit is contained in:
@@ -273,6 +273,7 @@ class Dict
|
||||
self::$m_aData[$sLangCode] = self::GetApcService()->apc_fetch(self::$m_sApplicationPrefix.'-dict-'.$sLangCode);
|
||||
if (! is_array(self::$m_aData[$sLangCode]))
|
||||
{
|
||||
IssueLog::Warning("APCu corrupted data (with $sLangCode dictionnary). APCu configuration and running version should be troubleshooted...");
|
||||
unset(self::$m_aData[$sLangCode]);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user