%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 : User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/webmin/ |
Upload File : |
#!/usr/bin/perl # change_theme.cgi # Change the current webmin theme require './webmin-lib.pl'; &ReadParse(); &ui_print_header(undef, $text{'themes_title'}, ""); ($gtheme, @others) = split(/\s+/, $gconfig{'theme'}); # Call pre-change function if ($in{'theme'} ne $gtheme) { if (defined(&theme_pre_change_theme)) { &theme_pre_change_theme(); } } &lock_file("$config_directory/config"); if ($in{'theme'}) { $gconfig{'theme'} = join(" ", $in{'theme'}, @others); } else { delete($gconfig{'theme'}); } &write_file("$config_directory/config", \%gconfig); &unlock_file("$config_directory/config"); &lock_file($ENV{'MINISERV_CONFIG'}); &get_miniserv_config(\%miniserv); if ($in{'theme'}) { $miniserv{'preroot'} = join(" ", $in{'theme'}, @others); } else { delete($miniserv{'preroot'}); } &put_miniserv_config(\%miniserv); &unlock_file($ENV{'MINISERV_CONFIG'}); &reload_miniserv(); print "$text{'themes_ok'}<p>\n"; # Call post-change function if ($in{'theme'} ne $gtheme) { if (defined(&theme_post_change_theme)) { &theme_post_change_theme(); } } print &js_redirect("/", "top", 1500); &webmin_log('theme', undef, undef, \%in); &ui_print_footer("", $text{'index_return'});