diff --git a/chooser.cgi b/chooser.cgi index 3976e2c1b..21dd57c1c 100755 --- a/chooser.cgi +++ b/chooser.cgi @@ -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", diff --git a/config.cgi b/config.cgi index ff46ca32d..fca3ea6b3 100755 --- a/config.cgi +++ b/config.cgi @@ -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(); diff --git a/config_save.cgi b/config_save.cgi index 68048e185..0ce57ef6d 100755 --- a/config_save.cgi +++ b/config_save.cgi @@ -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(); diff --git a/date_chooser.cgi b/date_chooser.cgi index 38c0f0cfb..3443fc7a6 100755 --- a/date_chooser.cgi +++ b/date_chooser.cgi @@ -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; diff --git a/feedback.cgi b/feedback.cgi index 72da72f47..752e7371c 100755 --- a/feedback.cgi +++ b/feedback.cgi @@ -1,7 +1,7 @@ #!/usr/local/bin/perl # Send the webmin feedback form -BEGIN { push(@INC, ".."); }; +BEGIN { push(@INC, "."); }; use WebminCore; &init_config(); diff --git a/feedback_form.cgi b/feedback_form.cgi index 52687731e..d7e1a6dda 100755 --- a/feedback_form.cgi +++ b/feedback_form.cgi @@ -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(); diff --git a/group_chooser.cgi b/group_chooser.cgi index 90c2b69b6..17573499c 100755 --- a/group_chooser.cgi +++ b/group_chooser.cgi @@ -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(); diff --git a/help.cgi b/help.cgi index 65abe60d1..3a9c514ab 100755 --- a/help.cgi +++ b/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(); diff --git a/index.cgi b/index.cgi index d925f485a..2ad4d70b3 100755 --- a/index.cgi +++ b/index.cgi @@ -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(); diff --git a/module_chooser.cgi b/module_chooser.cgi index 5b528fc09..a932cdc15 100755 --- a/module_chooser.cgi +++ b/module_chooser.cgi @@ -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(); diff --git a/pam_login.cgi b/pam_login.cgi index 3651550d1..bf047f6c2 100755 --- a/pam_login.cgi +++ b/pam_login.cgi @@ -1,7 +1,7 @@ #!/usr/local/bin/perl # Ask one PAM question -BEGIN { push(@INC, ".."); }; +BEGIN { push(@INC, "."); }; use WebminCore; $pragma_no_cache = 1; diff --git a/password_form.cgi b/password_form.cgi index 2994c2292..d7bf959be 100755 --- a/password_form.cgi +++ b/password_form.cgi @@ -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; diff --git a/refresh_modules.cgi b/refresh_modules.cgi index 89056fa13..205cf836c 100755 --- a/refresh_modules.cgi +++ b/refresh_modules.cgi @@ -1,7 +1,7 @@ #!/usr/local/bin/perl # Refresh the list of visible modules -BEGIN { push(@INC, ".."); }; +BEGIN { push(@INC, "."); }; use WebminCore; &init_config(); diff --git a/session_login.cgi b/session_login.cgi index 25fbd9dc8..a0665500f 100755 --- a/session_login.cgi +++ b/session_login.cgi @@ -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; diff --git a/switch_skill.cgi b/switch_skill.cgi index 9c9ae8771..2f3261df3 100755 --- a/switch_skill.cgi +++ b/switch_skill.cgi @@ -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(); diff --git a/switch_user.cgi b/switch_user.cgi index c3fb43773..cddad88f3 100755 --- a/switch_user.cgi +++ b/switch_user.cgi @@ -2,7 +2,7 @@ # switch_user.cgi # Force the webserver to re-authenticate -BEGIN { push(@INC, ".."); }; +BEGIN { push(@INC, "."); }; use WebminCore; &init_config(); diff --git a/uptracker.cgi b/uptracker.cgi index e61a1e646..9eca2cf8a 100755 --- a/uptracker.cgi +++ b/uptracker.cgi @@ -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(); diff --git a/user_chooser.cgi b/user_chooser.cgi index 84032a2c0..0a20eeef5 100755 --- a/user_chooser.cgi +++ b/user_chooser.cgi @@ -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(); diff --git a/webmin_search.cgi b/webmin_search.cgi index 15a0f17a0..7bc3d79ce 100755 --- a/webmin_search.cgi +++ b/webmin_search.cgi @@ -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(); diff --git a/xmlrpc.cgi b/xmlrpc.cgi index 64314cbcf..9a14aa0ee 100755 --- a/xmlrpc.cgi +++ b/xmlrpc.cgi @@ -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;