9 Star 27 Fork 0

Gitee 极速下载/Webmin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/webmin/webmin
克隆/下载
refresh_modules.cgi 729 Bytes
一键复制 编辑 原始数据 按行查看 历史
iliajie 提交于 2023-05-26 19:00 +08:00 . Fix not to add extra line
#!/usr/local/bin/perl
# Refresh the list of visible modules
BEGIN { push(@INC, "."); };
use WebminCore;
&init_config();
&ReadParse();
&foreign_require("webmin", "webmin-lib.pl");
&ui_print_unbuffered_header(undef, $text{'refreshmods_title'}, "", undef, 0, 1);
# Re-run install checks
&flush_webmin_caches();
print $text{'refreshmods_installed'},"<br>\n";
$installed = &webmin::build_installed_modules(1);
@not = grep { $installed->{$_} eq '0' } (keys %$installed);
@got = grep { $installed->{$_} ne '0' } (keys %$installed);
print &text('refeshmods_counts', scalar(@not), scalar(@got)),"\n";
# Refresh left frame, if possible
if (defined(&theme_post_change_modules)) {
&theme_post_change_modules();
}
&ui_print_footer();
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Perl
1
https://gitee.com/mirrors/webmin.git
git@gitee.com:mirrors/webmin.git
mirrors
webmin
Webmin
master

搜索帮助