mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +03:00
Remove hash detect information
This commit is contained in:
parent
0618eb7ca2
commit
8d5b7a0632
2 changed files with 3 additions and 27 deletions
|
|
@ -143,18 +143,12 @@ class Service
|
|||
|
||||
$aData = $this->startUpData($bAdmin);
|
||||
|
||||
$sAppHash = '';
|
||||
if (\file_exists(APP_DATA_FOLDER_PATH.'HASH'))
|
||||
{
|
||||
$sAppHash = md5(@\file_get_contents(APP_DATA_FOLDER_PATH.'HASH'));
|
||||
}
|
||||
|
||||
$bCacheEnabled = $this->oActions->Config()->Get('labs', 'cache_system_data', true);
|
||||
|
||||
$sCacheFileName = '';
|
||||
if ($bCacheEnabled)
|
||||
{
|
||||
$sCacheFileName = 'TMPL:'.$aData['Hash'].'/'.$sAppHash;
|
||||
$sCacheFileName = 'TMPL:'.$aData['Hash'];
|
||||
$sResult = $this->oActions->Cacher()->Get($sCacheFileName);
|
||||
}
|
||||
|
||||
|
|
@ -189,7 +183,6 @@ class Service
|
|||
$sResult .= '][time:'.substr(\microtime(true) - APP_START, 0, 6);
|
||||
$sResult .= '][cached:'.($bCached ? 'true' : 'false');
|
||||
$sResult .= '][session:'.md5(\RainLoop\Utils::GetShortToken());
|
||||
$sResult .= '][hash:'.$sAppHash;
|
||||
$sResult .= '] -->';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue