From c9866f66ae0df46be5d2eed5ef0c17610f487e54 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 9 Jul 2012 13:02:21 +0000 Subject: Last splits remaining --- config/snort/snort_interfaces_edit.php | 2 +- config/snort/snort_rulesets.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config/snort') diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php index 12cb9b00..dd60af68 100644 --- a/config/snort/snort_interfaces_edit.php +++ b/config/snort/snort_interfaces_edit.php @@ -425,7 +425,7 @@ function enable_change(enable_change) { $snortInterfaces = array(); /* -gtm */ $if_list = $config['installedpackages']['snortglobal']['rule'][$id]['interface']; - $if_array = split(',', $if_list); + $if_array = explode(',', $if_list); if($if_array) { foreach($if_array as $iface2) { /* build a list of user specified interfaces -gtm */ diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php index ee700a88..b08d7e6f 100644 --- a/config/snort/snort_rulesets.php +++ b/config/snort/snort_rulesets.php @@ -156,7 +156,7 @@ if ($_POST["Submit"]) { $enabled_rulesets = $a_nat[$id]['rulesets']; if($enabled_rulesets) - $enabled_rulesets_array = split("\|\|", $enabled_rulesets); + $enabled_rulesets_array = explode("||", $enabled_rulesets); include_once("head.inc"); -- cgit v1.2.3