aboutsummaryrefslogtreecommitdiffstats
path: root/config/widget-snort/widget-snort.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/widget-snort/widget-snort.inc')
-rw-r--r--config/widget-snort/widget-snort.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/config/widget-snort/widget-snort.inc b/config/widget-snort/widget-snort.inc
index b33059e4..105dd1e7 100644
--- a/config/widget-snort/widget-snort.inc
+++ b/config/widget-snort/widget-snort.inc
@@ -1,8 +1,5 @@
<?php
-
-require_once("guiconfig.inc");
require_once("config.inc");
-
function widget_snort_uninstall() {
global $config;
@@ -19,10 +16,9 @@ function widget_snort_uninstall() {
write_config();
}
- /* Remove our associated file */
+ /* Remove our associated files */
unlink("/usr/local/www/widgets/include/widget-snort.inc");
unlink("/usr/local/www/widgets/widgets/snort_alerts.widget.php");
unlink("/usr/local/www/widgets/javascript/snort_alerts.js");
}
-
?>