Better warning
This commit is contained in:
parent
ceb50d90ca
commit
8b2304ec8e
@ -104,10 +104,10 @@ print '<strong>'.$langs->trans("ApplicativeCache").'</strong>: ';
|
||||
$test = !empty($conf->memcached->enabled);
|
||||
if ($test) {
|
||||
if (!empty($conf->global->MEMCACHED_SERVER)) {
|
||||
print img_picto('', 'tick.png').' '.$langs->trans("MemcachedAvailableAndSetup");
|
||||
print $langs->trans("MemcachedAvailableAndSetup");
|
||||
print ' '.$langs->trans("MoreInformation").' <a href="'.dol_buildpath('/memcached/admin/memcached.php', 1).'">Memcached module admin page</a>';
|
||||
} else {
|
||||
print img_picto('', 'warning').' '.$langs->trans("MemcachedModuleAvailableButNotSetup");
|
||||
print $langs->trans("MemcachedModuleAvailableButNotSetup");
|
||||
print ' <a href="'.dol_buildpath('/memcached/admin/memcached.php', 1).'">Memcached module admin page</a>';
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user