1 Star 0 Fork 0

selfspring/webmin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
record-logout.pl 522 Bytes
一键复制 编辑 原始数据 按行查看 历史
iliajie 提交于 2022-06-30 13:08 . Fix pointless warnings flooding error log
#!/usr/local/bin/perl
# Write an actions log for a logout
BEGIN { push(@INC, ".."); };
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
use WebminCore;
our ($remote_user);
&init_config();
my ($username, $sid, $remoteip, $localip) = @ARGV;
if ($username && $sid && $remoteip) {
$ENV{'REMOTE_USER'} = $WebminCore::remote_user = $remote_user = $username;
$main::session_id = $sid;
$0 = "miniserv.pl";
&webmin_log("logout", undef, undef, undef, "global", undef,
undef, $remoteip);
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/selfspring/webmin.git
git@gitee.com:selfspring/webmin.git
selfspring
webmin
webmin
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385