This commit is contained in:
the-djmaze 2026-11-03 15:08:56 +01:00
parent fb3c4eeedd
commit 18f9d45b35

View file

@ -435,7 +435,9 @@ class ServiceActions
$bCacheEnabled = !$bAppDebug && $this->Config()->Get('cache', 'system_data', true);
$sCacheFileName = '';
if ($bCacheEnabled) {
$sCacheFileName = KeyPathHelper::PluginsJsCache($this->oActions->Plugins()->Hash()) . $sMinify;
$sCacheFileName = KeyPathHelper::PluginsJsCache($this->oActions->Plugins()->Hash())
. ($bAdmin ? 'admin' : 'user')
. $sMinify;
$this->oActions->verifyCacheByKey(\md5($sCacheFileName));
$sResult = $this->Cacher()->Get($sCacheFileName);
}