mirror of
https://github.com/webmin/webmin.git
synced 2026-07-25 19:00:31 +01:00
Block non-public HTTP, HTTPS and FTP destinations by default in File Manager, Mailboxes and Upload and Download, with per-user IP/CIDR exceptions, redirect and proxy protection, cache isolation, and current-ACL enforcement for scheduled jobs.
17 lines
296 B
Perl
Executable File
17 lines
296 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# A caller for loading XHR related routines
|
|
use strict;
|
|
|
|
our ($root_directory, %access);
|
|
|
|
BEGIN { push(@INC, "."); };
|
|
use WebminCore;
|
|
|
|
&init_config();
|
|
&ReadParse();
|
|
%access = &get_module_acl();
|
|
&webmin_user_is_admin() or &switch_to_remote_user();
|
|
|
|
do "./xhr-lib.pl";
|
|
xhr();
|