diff options
| author | Andrew Dolgov <fox@madoka.spb.ru> | 2006-05-23 09:59:00 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.spb.ru> | 2006-05-23 09:59:00 +0100 |
| commit | f54f515f440f69de6479fef14cd2aae004aff551 (patch) | |
| tree | f1a4ff1ea4952dfc72c85dcd7cb5ff7832f7427d /functions.php | |
| parent | a756529344fa6bfab8deded10c9750ce1bfd56ac (diff) | |
report runtime info in counter callbacks
Diffstat (limited to 'functions.php')
| -rw-r--r-- | functions.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 5ec8d45f4..fbce56b5e 100644 --- a/functions.php +++ b/functions.php @@ -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>"; + } ?> |