From 3d72cf7e6546e6afb4846f84bedc74890f4d28d7 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Wed, 14 May 2014 22:13:07 +0200 Subject: inc/html.inc.php: fix canvas graphs Include graph.php instead of non-existing plugin/$plugin.php. --- inc/html.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/html.inc.php b/inc/html.inc.php index 7f6e7c0..1efca93 100644 --- a/inc/html.inc.php +++ b/inc/html.inc.php @@ -305,7 +305,7 @@ function graphs_from_plugin($host, $plugin, $overview=false) { isset($items['pi']) ? $_GET['pi'] = $items['pi'] : $_GET['pi'] = ''; isset($items['t']) ? $_GET['t'] = $items['t'] : $_GET['t'] = ''; isset($items['ti']) ? $_GET['ti'] = $items['ti'] : $_GET['ti'] = ''; - include $CONFIG['webdir'].'/plugin/'.$plugin.'.php'; + include $CONFIG['webdir'].'/graph.php'; } else { printf(''."\n", $CONFIG['weburl'], -- cgit v1.1