Updated caching mechanism to use an expiration.
This commit is contained in:
parent
6fba848aed
commit
c655f69a48
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ sub get {
|
|||
if ($output eq "" && $language ne 1) {
|
||||
$output = get($_[0],$namespace,1);
|
||||
}
|
||||
$cache->set($language."_".$namespace."_".$_[0], $output) if ($useCache);
|
||||
$cache->set($language."_".$namespace."_".$_[0], $output, $session{config}{cacheInternational}) if ($useCache);
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue