Files
webmin/bind8/close.cgi
2026-05-22 23:54:11 -05:00

17 lines
364 B
Perl
Executable File

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