MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/proc/self/root/usr/libexec/webmin/sendmail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/proc/self/root/usr/libexec/webmin/sendmail/move.cgi
#!/usr/bin/perl
# move.cgi
# Move a feature up or down

require './sendmail-lib.pl';
require './features-lib.pl';
&ReadParse();
$features_access || &error($text{'features_ecannot'});
@features = &list_features();

&lock_file($config{'sendmail_mc'});
if ($in{'up'}) {
	&swap_features($features[$in{'idx'}-1], $features[$in{'idx'}]);
	}
elsif ($in{'down'}) {
	&swap_features($features[$in{'idx'}], $features[$in{'idx'}+1]);
	}
&unlock_file($config{'sendmail_mc'});
&webmin_log("move", "feature", undef, $features[$in{'idx'}]);

&redirect("list_features.cgi");


Anon7 - 2021