%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/share/webmin/webmin/ |
Upload File : |
#!/usr/bin/perl # Change the current webmin theme overlay require './webmin-lib.pl'; &ReadParse(); &error_setup($text{'themes_err4'}); # Get the overlay and make sure it is compatible ($gtheme) = split(/\s+/, $gconfig{'theme'}); if ($in{'overlay'}) { %oinfo = &get_theme_info($in{'overlay'}); if ($oinfo{'overlays'} && &indexof($gtheme, split(/\s+/, $oinfo{'overlays'})) < 0) { &error($text{'themes_eoverlay'}); } } &lock_file("$config_directory/config"); if ($in{'overlay'}) { $gconfig{'theme'} = join(" ", $gtheme, $in{'overlay'}); } else { $gconfig{'theme'} = $gtheme; } &write_file("$config_directory/config", \%gconfig); &unlock_file("$config_directory/config"); &lock_file($ENV{'MINISERV_CONFIG'}); &get_miniserv_config(\%miniserv); if ($in{'overlay'}) { $miniserv{'preroot'} = join(" ", $gtheme, $in{'overlay'}); } else { $miniserv{'preroot'} = $gtheme; } &put_miniserv_config(\%miniserv); &unlock_file($ENV{'MINISERV_CONFIG'}); &reload_miniserv(); &webmin_log('theme', undef, undef, \%in); &ui_print_header(undef, $text{'themes_title'}, ""); print "$text{'themes_ok2'}<p>\n"; print &js_redirect("/", "top", 1500); &ui_print_footer("", $text{'index_return'});