Fix more use of .. in include path
This commit is contained in:
parent
ab5e00e41e
commit
b776fad00a
@ -2,7 +2,7 @@
|
||||
# chooser.cgi
|
||||
# Outputs HTML for a frame-based file chooser
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
@icon_map = ( "c", "text.gif",
|
||||
|
@ -2,7 +2,7 @@
|
||||
# config.cgi
|
||||
# Display a form for editing the configuration of a module.
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
require './config-lib.pl';
|
||||
&init_config();
|
||||
|
@ -2,7 +2,7 @@
|
||||
# config_save.cgi
|
||||
# Save inputs from config.cgi
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
require './config-lib.pl';
|
||||
&init_config();
|
||||
|
@ -2,7 +2,7 @@
|
||||
# date_chooser.cgi
|
||||
# Display a table of days in the current month
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
use Time::Local;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Send the webmin feedback form
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -2,7 +2,7 @@
|
||||
# feedback_form.cgi
|
||||
# Display a form so that the user can send in a webmin bug report
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -2,7 +2,7 @@
|
||||
# group_chooser.cgi
|
||||
# This CGI generated the HTML for choosing a group or list of groups.
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
2
help.cgi
2
help.cgi
@ -2,7 +2,7 @@
|
||||
# help.cgi
|
||||
# Displays help HTML for some module, with substitutions
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Display all Webmin modules visible to the current user
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/local/bin/perl
|
||||
# This CGI generates the HTML for choosing a module or list of modules
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Ask one PAM question
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
$pragma_no_cache = 1;
|
||||
|
@ -2,7 +2,7 @@
|
||||
# password_form.cgi
|
||||
# Display the form that allows users to change their passwords at login time
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
$pragma_no_cache = 1;
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Refresh the list of visible modules
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -2,7 +2,7 @@
|
||||
# session_login.cgi
|
||||
# Display the login form used in session login mode
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
$pragma_no_cache = 1;
|
||||
|
@ -2,7 +2,7 @@
|
||||
# switch_skill.cgi
|
||||
# Change the skill level of the current user
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -2,7 +2,7 @@
|
||||
# switch_user.cgi
|
||||
# Force the webserver to re-authenticate
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Output Javascript in a loop to track an upload
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This CGI generated the HTML for choosing a user or list of users.
|
||||
|
||||
$trust_unknown_referers = 1;
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Search Webmin modules and help pages and text and config.info
|
||||
|
||||
$trust_unknown_referers = 1;
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
|
||||
&init_config();
|
||||
|
@ -15,7 +15,7 @@ if (!$ENV{'GATEWAY_INTERFACE'}) {
|
||||
$command_line = 1;
|
||||
$> == 0 || die "xmlrpc.cgi must be run as root";
|
||||
}
|
||||
BEGIN { push(@INC, ".."); };
|
||||
BEGIN { push(@INC, "."); };
|
||||
use WebminCore;
|
||||
use POSIX;
|
||||
use Socket;
|
||||
|
Loading…
x
Reference in New Issue
Block a user