Subversion Repositories ALCASAR

Rev

Rev 1818 | Rev 1843 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1818 Rev 1827
Line 134... Line 134...
134
	unset($_POST['OSSI_wl_domains']);
134
	unset($_POST['OSSI_wl_domains']);
135
	$fichier=fopen($file_wl_ip, "w+");
135
	$fichier=fopen($file_wl_ip, "w+");
136
	fputs($fichier, form_filter_ip($_POST['OSSI_wl_ip'], "white"));
136
	fputs($fichier, form_filter_ip($_POST['OSSI_wl_ip'], "white"));
137
	fclose($fichier);
137
	fclose($fichier);
138
	unset($_POST['OSSI_wl_ip']);
138
	unset($_POST['OSSI_wl_ip']);
139
	exec ("sudo /usr/local/sbin/alcasar-bl.sh --reload");
139
	exec ("sudo /usr/local/bin/alcasar-bl.sh --reload");
140
	break;
140
	break;
141
}
141
}
142
?>
142
?>
143
<table width="100%" border="0" cellspacing="0" cellpadding="0">
143
<table width="100%" border="0" cellspacing="0" cellpadding="0">
144
	<tr><th><?php echo $l_wl; ?></th></tr>
144
	<tr><th><?php echo $l_wl; ?></th></tr>