mirror of
https://github.com/webmin/webmin.git
synced 2026-07-25 02:40:37 +01:00
18 lines
357 B
Perl
Executable File
18 lines
357 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# A caller for loading XHR related routines
|
|
use strict;
|
|
|
|
our ($root_directory, %access, %global_access);
|
|
|
|
BEGIN { push(@INC, "."); };
|
|
use WebminCore;
|
|
|
|
&init_config();
|
|
&ReadParse();
|
|
%access = &get_module_acl();
|
|
%global_access = &get_module_acl(undef, "");
|
|
&webmin_user_is_admin() or &switch_to_remote_user();
|
|
|
|
do "./xhr-lib.pl";
|
|
xhr();
|