From 2b57efa0325eef3a10e4a89f3c07cce49c7848e6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 8 May 2010 15:02:04 +0000 Subject: [PATCH] Change to allow usage of different caching systems --- htdocs/core/class/translate.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php index a7f501f9975..44b6c0c1621 100644 --- a/htdocs/core/class/translate.class.php +++ b/htdocs/core/class/translate.class.php @@ -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");