This commit is contained in:
the-djmaze 2023-03-21 15:49:33 +01:00
parent 8e8f396c46
commit cf2c3b944e

View file

@ -194,7 +194,10 @@ abstract class Service
APP_VERSION
))
);
$oActions->verifyCacheByKey($sCacheFileName);
// https://github.com/the-djmaze/snappymail/issues/1024
// $oActions->verifyCacheByKey($sCacheFileName);
if ($oConfig->Get('cache', 'system_data', true)) {
$sResult = $oActions->Cacher()->Get($sCacheFileName);
} else {
@ -234,7 +237,8 @@ abstract class Service
$sScriptHash = 'sha256-'.\base64_encode(\hash('sha256', $script[1], true));
static::setCSP(null, $sScriptHash);
*/
$oActions->cacheByKey($sCacheFileName);
// https://github.com/the-djmaze/snappymail/issues/1024
// $oActions->cacheByKey($sCacheFileName);
echo $sResult;
unset($sResult);