|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/proc/self/root/usr/libexec/webmin/webmin/ |
Upload File : |
#!/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)),"<p>\n";
# Refresh left frame, if possible
if (@$changed && defined(&theme_post_change_modules)) {
&theme_post_change_modules();
}
&ui_print_footer();