aboutsummaryrefslogtreecommitdiffstats
path: root/mod/siteinfo.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-12-21 18:40:25 -0800
committerfriendica <info@friendica.com>2014-12-21 18:40:25 -0800
commitd3830aea9661dac0610eef72cad35b188832b7f2 (patch)
tree6609f577ec12b47eb53e5169a2e97f1039dbea31 /mod/siteinfo.php
parentb840c279957667168b400207caff14dc78043994 (diff)
downloadvolse-hubzilla-d3830aea9661dac0610eef72cad35b188832b7f2.tar.gz
volse-hubzilla-d3830aea9661dac0610eef72cad35b188832b7f2.tar.bz2
volse-hubzilla-d3830aea9661dac0610eef72cad35b188832b7f2.zip
provide last successful poll run time (using relative time) in siteinfo so that we can tell folks that have no idea what we're talking about that their poller definitely isn't running and this is probably why nothing works correctly.
Diffstat (limited to 'mod/siteinfo.php')
-rw-r--r--mod/siteinfo.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/siteinfo.php b/mod/siteinfo.php
index 03e578467..53d47358d 100644
--- a/mod/siteinfo.php
+++ b/mod/siteinfo.php
@@ -73,6 +73,7 @@ function siteinfo_init(&$a) {
'site_name' => (($site_name) ? $site_name : ''),
'platform' => RED_PLATFORM,
'dbdriver' => $db->getdriver(),
+ 'lastpoll' => get_poller_runtime(),
'info' => (($site_info) ? $site_info : ''),
'channels_total' => $channels_total_stat,
'channels_active_halfyear' => $channels_active_halfyear_stat,
@@ -134,10 +135,13 @@ function siteinfo_content(&$a) {
'$title' => t('Red'),
'$description' => t('This is a hub of the Red Matrix - a global cooperative network of decentralized privacy enhanced websites.'),
'$version' => $version,
+ '$tag_txt' => t('Tag: '),
'$tag' => $tag,
+ '$polled' => t('Last background fetch: '),
+ '$lastpoll' => get_poller_runtime(),
'$commit' => $commit,
'$web_location' => t('Running at web location') . ' ' . z_root(),
- '$visit' => t('Please visit <a href="http://getzot.com">GetZot.com</a> to learn more about the Red Matrix.'),
+ '$visit' => t('Please visit <a href="https://redmatrix.me">RedMatrix.me</a> to learn more about the Red Matrix.'),
'$bug_text' => t('Bug reports and issues: please visit'),
'$bug_link_url' => 'https://github.com/friendica/red/issues',
'$bug_link_text' => 'redmatrix issues',