save_global.cgi

来自「Unix下基于Web的管理工具」· CGI 代码 · 共 18 行

CGI
18
字号
#!/usr/local/bin/perl# save_global.cgi# Save some type of global optionsrequire './apache-lib.pl';&ReadParse();$access{'global'}==1 || &error($text{'global_ecannot'});$access_types{$in{'type'}} ||	&error($text{'etype'});$conf = &get_config();@edit = &editable_directives($in{'type'}, 'global');&error_setup(&text('efailed', $text{"type_$in{'type'}"}));&parse_inputs(\@edit, $conf, $conf);&redirect("");

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?