From eec83c9545d8a9a06ac0f63846eca68e2280a83d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 17 Dec 2013 15:25:12 +0100 Subject: Deliver remote log url to clients via config --- apis/getconfig.inc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apis') diff --git a/apis/getconfig.inc.php b/apis/getconfig.inc.php index 6edb55be..2ef02a6b 100644 --- a/apis/getconfig.inc.php +++ b/apis/getconfig.inc.php @@ -1,5 +1,6 @@ fetch(PDO::FETCH_ASSOC)) { if (empty($row['value'])) $row['value'] = $row['defaultvalue']; echo $row['setting'] . "='" . str_replace("'", "'\"'\"'", $row['value']) . "'\n"; } +// Additional "intelligent" config +echo "SLX_REMOTE_LOG='http://${_SERVER['SERVER_ADDR']}/slxadmin/api.php?do=clientlog'\n"; + -- cgit v1.2.3-55-g7522