diff options
Diffstat (limited to 'plugin.php')
-rw-r--r-- | plugin.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,10 +1,11 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | require_once 'conf/common.inc.php'; | 3 | require_once 'conf/common.inc.php'; |
4 | require_once 'inc/functions.inc.php'; | ||
4 | require_once 'inc/html.inc.php'; | 5 | require_once 'inc/html.inc.php'; |
5 | 6 | ||
6 | $host = $_GET['h']; | 7 | $host = validate_get($_GET['h'], 'host'); |
7 | $plugin = $_GET['p']; | 8 | $plugin = validate_get($_GET['p'], 'plugin'); |
8 | 9 | ||
9 | if ($_GET['a'] == 'del') { | 10 | if ($_GET['a'] == 'del') { |
10 | plugin_header($host, $plugin, 1); | 11 | plugin_header($host, $plugin, 1); |