mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
Change for #1024
This commit is contained in:
parent
8e8f396c46
commit
cf2c3b944e
1 changed files with 6 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue