1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-10 20:19:14 +00:00

report runtime info in counter callbacks

This commit is contained in:
Andrew Dolgov
2006-05-23 09:59:00 +01:00
parent a756529344
commit f54f515f44
4 changed files with 41 additions and 3 deletions

View File

@@ -1718,4 +1718,11 @@
print "</init-params>";
}
function print_runtime_info($link) {
print "<runtime-info>";
print "<param key=\"daemon_is_running\" value=\"".
sprintf("%d", file_is_locked("update_daemon.lock")) . "\"/>";
print "</runtime-info>";
}
?>