From 775da40f8c247a97a01c3affd75511b4cbdb95b7 Mon Sep 17 00:00:00 2001 From: Vincent Brillault Date: Mon, 16 Dec 2013 22:28:33 +0100 Subject: Add a configuration option for sync/async choice for the canvas graphs --- inc/html.inc.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'inc') diff --git a/inc/html.inc.php b/inc/html.inc.php index 478045c..b07be8a 100644 --- a/inc/html.inc.php +++ b/inc/html.inc.php @@ -87,6 +87,17 @@ EOT; EOT; + if ($CONFIG['rrd_fetch_method'] == 'async') { + echo << + +EOT; + } else { + echo << + +EOT; + } } echo <<