aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPim van den Berg2014-05-14 22:13:07 +0200
committerPim van den Berg2014-05-14 22:13:07 +0200
commit3d72cf7e6546e6afb4846f84bedc74890f4d28d7 (patch)
tree0e5b83dbb521bfdbcb592070e7d55d781086483a
parentplugin/memory: add cache (diff)
downloadapt-panopticon_cgp-3d72cf7e6546e6afb4846f84bedc74890f4d28d7.zip
apt-panopticon_cgp-3d72cf7e6546e6afb4846f84bedc74890f4d28d7.tar.gz
apt-panopticon_cgp-3d72cf7e6546e6afb4846f84bedc74890f4d28d7.tar.bz2
apt-panopticon_cgp-3d72cf7e6546e6afb4846f84bedc74890f4d28d7.tar.xz
inc/html.inc.php: fix canvas graphs
Include graph.php instead of non-existing plugin/$plugin.php.
-rw-r--r--inc/html.inc.php2
1 files changed, 1 insertions, 1 deletions
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) {
305 isset($items['pi']) ? $_GET['pi'] = $items['pi'] : $_GET['pi'] = ''; 305 isset($items['pi']) ? $_GET['pi'] = $items['pi'] : $_GET['pi'] = '';
306 isset($items['t']) ? $_GET['t'] = $items['t'] : $_GET['t'] = ''; 306 isset($items['t']) ? $_GET['t'] = $items['t'] : $_GET['t'] = '';
307 isset($items['ti']) ? $_GET['ti'] = $items['ti'] : $_GET['ti'] = ''; 307 isset($items['ti']) ? $_GET['ti'] = $items['ti'] : $_GET['ti'] = '';
308 include $CONFIG['webdir'].'/plugin/'.$plugin.'.php'; 308 include $CONFIG['webdir'].'/graph.php';
309 } else { 309 } else {
310 printf('<a href="%s%s"><img src="%s%s"></a>'."\n", 310 printf('<a href="%s%s"><img src="%s%s"></a>'."\n",
311 $CONFIG['weburl'], 311 $CONFIG['weburl'],