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