mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Current dir is not always in the path https://www.virtualmin.com/node/54239
This commit is contained in:
@@ -36,6 +36,7 @@ if ($file !~ /^\//) {
|
||||
}
|
||||
|
||||
# Set up webmin environment
|
||||
push(@INC, ".", $root);
|
||||
$ENV{'WEBMIN_CONFIG'} = $config;
|
||||
$ENV{'WEBMIN_VAR'} = $var;
|
||||
$no_acl_check++;
|
||||
|
||||
Reference in New Issue
Block a user