Updated caching mechanism to use an expiration.

This commit is contained in:
JT Smith 2002-12-18 03:02:14 +00:00
parent 6fba848aed
commit c655f69a48

View file

@ -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;
}