Fix: Do not try to use memcache module if setup not complete
This commit is contained in:
parent
42697d4326
commit
2f26dbd26b
@ -198,7 +198,7 @@ class Translate {
|
|||||||
// Enable cache of lang file in memory (not by default)
|
// Enable cache of lang file in memory (not by default)
|
||||||
$usecachekey='';
|
$usecachekey='';
|
||||||
// Using a memcached server
|
// Using a memcached server
|
||||||
if (! empty($conf->memcached->enabled))
|
if (! empty($conf->memcached->enabled) && ! empty($conf->global->MEMCACHED_SERVER))
|
||||||
{
|
{
|
||||||
$usecachekey=$newdomain.'_'.$langofdir;
|
$usecachekey=$newdomain.'_'.$langofdir;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user