MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: obrechts (544)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //var/usr/webmin-1.941/burner/save_dev.cgi
#!/usr/bin/perl
# save_dev.cgi
# Save global device options

require './burner-lib.pl';
$access{'global'} || &error($text{'dev_ecannot'});
&ReadParse();
&error_setup($text{'dev_err'});

$config{'dev'} = $in{'dev'};
if ($in{'speed'}) {
	$config{'speed'} = $in{'speed'};
	}
else {
	$in{'other'} =~ /^\d+$/ || &error($text{'dev_eother'});
	$config{'speed'} = $in{'other'};
	}
$config{'extra'} = $in{'extra'};
&write_file("$module_config_directory/config", \%config);
&redirect("");