aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin.php
blob: 4e8384c85bcac85e684405270b6cfd462faaba1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

require_once 'conf/common.inc.php';
require_once 'inc/functions.inc.php';
require_once 'inc/html.inc.php';

$host = validate_get(GET('h'), 'host');
$plugin = validate_get(GET('p'), 'plugin');

if (GET('a') == 'del') {
	plugin_header($host, $plugin, 1);
} else {
	plugin_header($host, $plugin, 0);
	graphs_from_plugin($host, $plugin);
}

?>