package WebminCore;
require Exporter;
@ISA = qw(Exporter);
-use Socket;
# Add functions in web-lib-funcs.pl
# Generated with :
do '../web-lib.pl';
&init_config();
do '../ui-lib.pl';
+use Socket;
# list_exports()
# Return a list of all the directories currently being exported
$no_acl_check++;
require './servers-lib.pl';
-use Socket;
&foreign_require("mailboxes", "mailboxes-lib.pl");
&foreign_require("net", "net-lib.pl");
require './servers-lib.pl';
&ReadParse();
$access{'find'} || &error($text{'find_ecannot'});
-use Socket;
if (defined($in{'scan'})) {
# send to all addresses on the given network
BEGIN { push(@INC, ".."); };
use WebminCore;
+use Socket;
&init_config();
%access = &get_module_acl();
$cron_cmd = "$module_config_directory/auto.pl";
use WebminCore;
&init_config();
%access = &get_module_acl();
+use Socket;
$services_dir = "$module_config_directory/services";
$cron_cmd = "$module_config_directory/monitor.pl";
# Update IP allow and deny parameters
require './webmin-lib.pl';
-use Socket;
&ReadParse();
&error_setup($text{'access_err'});
# Update the binding IP address and port for miniserv
require './webmin-lib.pl';
-use Socket;
&ReadParse();
&get_miniserv_config(\%miniserv);
%oldminiserv = %miniserv;
use WebminCore;
&init_config();
do './gnupg-lib.pl';
+use Socket;
@cs_codes = ( 'cs_page', 'cs_text', 'cs_table', 'cs_header', 'cs_link' );
@cs_names = map { $text{$_} } @cs_codes;
use Webmin::All;
+use Socket;
# get_zone_form(&in, &zinfo)
# Returns a form for editing a zone