mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-04 16:12:39 +01:00
Change to allow usage of different caching systems
This commit is contained in:
@@ -215,9 +215,9 @@ class Translate {
|
||||
$this->tab_translate=array_merge($this->tab_translate,$tmparray);
|
||||
//print $newdomain."\n";
|
||||
//var_dump($this->tab_translate);
|
||||
$this->tab_loaded[$newdomain]=3; // Set this file as loaded from cache in session
|
||||
$this->tab_loaded[$newdomain]=3; // Set this file as loaded from cache
|
||||
$fileread=1;
|
||||
$found=true;
|
||||
$found=true; // Found in dolibarr PHP cache
|
||||
}
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@ class Translate {
|
||||
fclose($fp);
|
||||
$fileread=1;
|
||||
|
||||
// To save lang content into session
|
||||
// To save lang content in cache
|
||||
if ($alt == 2 && $usecachekey && sizeof($tabtranslatedomain))
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT ."/lib/memory.lib.php");
|
||||
|
||||
Reference in New Issue
Block a user