git.cweiske.de
/
phinde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add log file support
[phinde.git]
/
www
/
status.php
diff --git
a/www/status.php
b/www/status.php
index 4118c9cc19ab77b3cea2d9867a9e3df0849b337a..a57c121a2ae1d42bd9340a549dc2bd44c8ae1170 100644
(file)
--- a/
www/status.php
+++ b/
www/status.php
@@
-8,6
+8,9
@@
$esStatus = $es->getIndexStatus();
$queue = new Queue();
$gearStatus = $queue->getServerStatus();
$queue = new Queue();
$gearStatus = $queue->getServerStatus();
+$subDb = new Subscriptions();
+$subCount = $subDb->count();
+
/**
* @link http://jeffreysambells.com/2012/10/25/human-readable-filesize-php
*/
/**
* @link http://jeffreysambells.com/2012/10/25/human-readable-filesize-php
*/
@@
-29,6
+32,8
@@
render(
array(
'esStatus' => $esStatus,
'gearStatus' => $gearStatus,
array(
'esStatus' => $esStatus,
'gearStatus' => $gearStatus,
+ 'subCount' => $subCount,
+ 'subSum' => array_sum($subCount),
)
);
?>
)
);
?>