%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/syslog-ng/ |
Upload File : |
#!/usr/bin/perl # Show icons for syslog-ng destinations, filters, logs and options require './syslog-ng-lib.pl'; # Make sure it is installed $ver = &get_syslog_ng_version(); # Suggest using a new module my $index_econf2; if (&has_command('systemctl')) { if (&foreign_available('logviewer')) { my %logviewer_text = &load_language('logviewer'); $index_econf2 = &text('index_econf2', $logviewer_text{'index_title'}, "@{[&get_webprefix()]}/logviewer") . "<p><br>"; } } if (!$ver) { &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1); &ui_print_endpage($index_econf2 . &text('index_eprog', "<tt>$config{'syslogng_cmd'}</tt>", "../config.cgi?$module_name")); } if (!-r $config{'syslogng_conf'} && -r $config{'alt_syslogng_conf'}) { # Copy original template config file ©_source_dest($config{'alt_syslogng_conf'}, $config{'syslogng_conf'}); } if (!-r $config{'syslogng_conf'}) { &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1); &ui_print_endpage($index_econf2 . &text('index_econf', "<tt>$config{'syslogng_conf'}</tt>", "../config.cgi?$module_name")); } &ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1, 0, &help_search_link("syslog-ng", "man", "doc", "google"), undef, undef, &text('index_version', $ver)); # Show category icons @pages = ( "options", "sources", "destinations", "filters", "logs" ); @links = map { "list_${_}.cgi" } @pages; @titles = map { $text{$_."_title"} } @pages; @icons = map { "images/${_}.gif" } @pages; &icons_table(\@links, \@titles, \@icons, 5); # Show start/stop buttons print &ui_hr(); print &ui_buttons_start(); if (&is_syslog_ng_running()) { print &ui_buttons_row("apply.cgi", $text{'index_apply'}, $text{'index_applydesc'}); print &ui_buttons_row("stop.cgi", $text{'index_stop'}, $text{'index_stopdesc'}); } else { print &ui_buttons_row("start.cgi", $text{'index_start'}, $text{'index_startdesc'}); } print &ui_buttons_end(); &ui_print_footer("/", $text{'index'});