📄 save_files.cgi
字号:
#!/usr/local/bin/perl# save_files.cgi# Save global files optionsrequire './bind8-lib.pl';%access = &get_module_acl();$access{'defaults'} || &error($text{'files_ecannot'});&error_setup($text{'files_err'});&ReadParse();$conf = &get_config();$options = &find("options", $conf);&save_opt("statistics-file", \&file_check, $options, 1);&save_opt("dump-file", \&file_check, $options, 1);&save_opt("pid-file", \&file_check, $options, 1);&save_opt("named-xfer", \&file_check, $options, 1);&flush_file_lines();&redirect("");sub file_check{return $_[0] =~ /\S/ ? '' : $text{'files_efile'};}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -