HEX
Server: Apache/2.2.15 (CentOS)
System: Linux ip-10-0-2-146.eu-west-1.compute.internal 2.6.32-754.35.1.el6.centos.plus.x86_64 #1 SMP Sat Nov 7 11:33:42 UTC 2020 x86_64
User: root (0)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: //usr/libexec/webmin/webmin/refresh_modules.cgi
#!/usr/bin/perl
# Refresh the list of visible modules

require './webmin-lib.pl';
&ReadParse();

&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, $changed) = &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 (@$changed && defined(&theme_post_change_modules)) {
	&theme_post_change_modules();
	}

&ui_print_footer();