Current dir is not always in the path https://www.virtualmin.com/node/54239

This commit is contained in:
Jamie Cameron
2017-11-05 14:35:16 -08:00
parent e039a640cb
commit e4af713502

View File

@@ -36,6 +36,7 @@ if ($file !~ /^\//) {
}
# Set up webmin environment
push(@INC, ".", $root);
$ENV{'WEBMIN_CONFIG'} = $config;
$ENV{'WEBMIN_VAR'} = $var;
$no_acl_check++;