From d9e375bd190570837a890f949a47792deeb6b765 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Mon, 19 May 2014 22:48:59 +0200 Subject: detail.php: fix canvas graphs Include graph.php instead of non-existing plugin/$plugin.php. Closes #75 --- detail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'detail.php') diff --git a/detail.php b/detail.php index 33db2b9..0fedb69 100644 --- a/detail.php +++ b/detail.php @@ -52,7 +52,7 @@ print "\n"; if ($CONFIG['graph_type'] == 'canvas') { chdir($CONFIG['webdir']); - include $CONFIG['webdir'].'/plugin/'.$plugin.'.php'; + include $CONFIG['webdir'].'/graph.php'; } else { printf(''."\n", $CONFIG['weburl'], build_url('graph.php', $_GET)); } -- cgit v1.1