mirror of
https://github.com/webmin/webmin.git
synced 2026-06-14 16:40:32 +01:00
Add getenv sub
This commit is contained in:
@@ -6417,3 +6417,9 @@ while(1) {
|
||||
}
|
||||
return $line;
|
||||
}
|
||||
|
||||
sub getenv
|
||||
{
|
||||
my ($key) = @_;
|
||||
return $ENV{ uc($key) } || $ENV{ lc($key) };
|
||||
}
|
||||
Reference in New Issue
Block a user