Files
webmin/bind8/close.cgi
2022-06-30 13:08:38 +03:00

17 lines
348 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';
&ReadParse();
my @heiropen = &get_heiropen();
@heiropen = grep { $_ ne $in{'what'} } @heiropen;
&save_heiropen(\@heiropen);
&redirect("index.cgi#$in{'what'}");