mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 08:27:03 +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
|
APP_VERSION
|
||||||
))
|
))
|
||||||
);
|
);
|
||||||
$oActions->verifyCacheByKey($sCacheFileName);
|
|
||||||
|
// https://github.com/the-djmaze/snappymail/issues/1024
|
||||||
|
// $oActions->verifyCacheByKey($sCacheFileName);
|
||||||
|
|
||||||
if ($oConfig->Get('cache', 'system_data', true)) {
|
if ($oConfig->Get('cache', 'system_data', true)) {
|
||||||
$sResult = $oActions->Cacher()->Get($sCacheFileName);
|
$sResult = $oActions->Cacher()->Get($sCacheFileName);
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -234,7 +237,8 @@ abstract class Service
|
||||||
$sScriptHash = 'sha256-'.\base64_encode(\hash('sha256', $script[1], true));
|
$sScriptHash = 'sha256-'.\base64_encode(\hash('sha256', $script[1], true));
|
||||||
static::setCSP(null, $sScriptHash);
|
static::setCSP(null, $sScriptHash);
|
||||||
*/
|
*/
|
||||||
$oActions->cacheByKey($sCacheFileName);
|
// https://github.com/the-djmaze/snappymail/issues/1024
|
||||||
|
// $oActions->cacheByKey($sCacheFileName);
|
||||||
|
|
||||||
echo $sResult;
|
echo $sResult;
|
||||||
unset($sResult);
|
unset($sResult);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue