Files
webmin/bind8/close.cgi

15 lines
295 B
Perl
Executable File

#!/usr/local/bin/perl
# Remove some zone from the open list
use strict;
use warnings;
# Globals
our (%in);
require './bind8-lib.pl';
&ReadParse();
my @heiropen = &get_heiropen();
@heiropen = grep { $_ ne $in{'what'} } @heiropen;
&save_heiropen(\@heiropen);
&redirect("index.cgi#$in{'what'}");