fixing smarty cache key generation

This commit is contained in:
Sebastian Grewe 2013-07-11 15:58:30 +02:00
parent 739bd9c7b6
commit 5c0d992134

View File

@ -26,6 +26,6 @@ if ($config['smarty']['cache']) {
$smarty->cache_lifetime = $config['smarty']['cache_lifetime'];
$smarty->cache_dir = BASEPATH . "templates/cache";
$smarty->use_sub_dirs = true;
$smarty_cache_key = md5(serialize($_REQUEST . @$_SESSION['USERDATA']['id']));
$smarty_cache_key = md5(serialize($_REQUEST) . serialize(@$_SESSION['USERDATA']['id']));
}
?>