mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
fix check cache memcached
This commit is contained in:
@@ -607,18 +607,16 @@ class setup
|
|||||||
if ($Core->getCache()->isServer())
|
if ($Core->getCache()->isServer())
|
||||||
{
|
{
|
||||||
$stats = $Core->getCache()->getStats();
|
$stats = $Core->getCache()->getStats();
|
||||||
|
|
||||||
|
echo '<li>' . sprintf(_('setup::Serveur actif sur %s'), $registry->get('GV_cache_server_host') . ':' . $registry->get('GV_cache_server_port')) . '</li>';
|
||||||
|
echo "<table>";
|
||||||
|
|
||||||
foreach ($stats as $name => $stat)
|
foreach ($stats as $name => $stat)
|
||||||
{
|
{
|
||||||
echo '<li>Statistics given by `' . $name . '`</li>';
|
echo "<tr class='even'><td>" . $name . "</td><td> " . $stat . "</td></tr>";
|
||||||
echo '<li>' . sprintf(_('setup::Serveur actif sur %s'), $registry->get('GV_cache_server_host') . ':' . $registry->get('GV_cache_server_port')) . '</li>';
|
|
||||||
echo "<table>";
|
|
||||||
foreach ($stat as $key => $value)
|
|
||||||
{
|
|
||||||
echo "<tr class='even'><td>" . $key . "</td><td> " . $value . "</td></tr>";
|
|
||||||
}
|
|
||||||
echo "</table>";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "</table>";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user