Change to allow usage of different caching systems
This commit is contained in:
parent
0ba0177cc2
commit
69afbdf08e
@ -271,7 +271,7 @@ class Translate {
|
|||||||
if ($alt == 2 && $usecachekey && sizeof($tabtranslatedomain))
|
if ($alt == 2 && $usecachekey && sizeof($tabtranslatedomain))
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT ."/lib/memory.lib.php");
|
require_once(DOL_DOCUMENT_ROOT ."/lib/memory.lib.php");
|
||||||
$size=dol_setcache($newdomain,$tabtranslatedomain);
|
$size=dol_setcache($usecachekey,$tabtranslatedomain);
|
||||||
}
|
}
|
||||||
//exit;
|
//exit;
|
||||||
break; // Break loop on each root dir
|
break; // Break loop on each root dir
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user