added a per-site config file option for international message caching
This commit is contained in:
parent
35ead8b39e
commit
3eec10dc49
11 changed files with 59 additions and 55 deletions
|
|
@ -80,7 +80,11 @@ sub get {
|
|||
} else {
|
||||
$namespace = "WebGUI";
|
||||
}
|
||||
$cache = WebGUI::Cache->new($language."_".$namespace."_".$_[0],"International");
|
||||
my $cachetag = $session{config}{configFile}."-International";
|
||||
if ($session{config}{useSharedInternationalCache}) {
|
||||
$cachetag = "International";
|
||||
}
|
||||
$cache = WebGUI::Cache->new($language."_".$namespace."_".$_[0],$cachetag);
|
||||
$output = $cache->get;
|
||||
if (not defined $output) {
|
||||
($output) = WebGUI::SQL->quickArray("select message from international
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue