2017-04-23 11:34:14 +00:00
|
|
|
<?php require '../config.php'; ?>
|
2017-05-08 07:43:43 +00:00
|
|
|
<?php $Postgres = loadClass('Redis'); ?>
|
2017-04-23 11:34:14 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<?php require '../include/head.php'; ?>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<?php require '../include/navbar.php'; ?>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<h1>Redis Info</h1>
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
2017-05-08 07:43:43 +00:00
|
|
|
<?php if (!\devilbox\Redis::isAvailable($GLOBALS['REDIS_HOST_NAME'])): ?>
|
|
|
|
<p>Redis container is not running.</p>
|
|
|
|
<?php else: ?>
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead class="thead-inverse">
|
2017-04-23 11:34:14 +00:00
|
|
|
<tr>
|
2017-05-08 07:43:43 +00:00
|
|
|
<th>Variable</th>
|
|
|
|
<th>Value</th>
|
2017-04-23 11:34:14 +00:00
|
|
|
</tr>
|
2017-05-08 07:43:43 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php foreach (loadClass('Redis')->getInfo() as $key => $val): ?>
|
|
|
|
<tr>
|
|
|
|
<td><?php echo $key;?></td>
|
|
|
|
<td class="break-word"><code><?php echo $val;?></code></td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<?php endif; ?>
|
2017-04-23 11:34:14 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div><!-- /.container -->
|
|
|
|
|
|
|
|
<?php require '../include/footer.php'; ?>
|
|
|
|
</body>
|
|
|
|
</html>
|