aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin.php
blob: 54f75fb49bccf9688b2db62910ed5ceb7c63233e (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);
}

?>