AdminReport.php
changeset 1 13ac3d9d47b2
parent 0 cda2c95b368d
child 2 e4a8a8e1a50d
equal deleted inserted replaced
0:cda2c95b368d 1:13ac3d9d47b2
    69 		
    69 		
    70 		if ( empty($errors) )
    70 		if ( empty($errors) )
    71 		{
    71 		{
    72 			$email = getConfig('contact_email');
    72 			$email = getConfig('contact_email');
    73 			
    73 			
    74 			if ( !is_array($result = arp_send_mail($email, "[{$_SERVER['HTTP_HOST']}] Website bug report", "Sent from IP: {$_SERVER['REMOTE_ADDR']}\n\n---------------------------\n$comment)")) )
    74 			if ( !is_array($result = arp_send_mail($email, "[{$_SERVER['HTTP_HOST']}] Website bug report", "Sent from IP: {$_SERVER['REMOTE_ADDR']}\n\n---------------------------\n$comment")) )
    75 			{
    75 			{
    76 				redirect(makeUrl($page), 'Report sent', 'Thank you, your report has been sent. Redirecting you back to the page...', 5);
    76 				redirect(makeUrl($page), 'Report sent', 'Thank you, your report has been sent. Redirecting you back to the page...', 5);
    77 			}
    77 			}
    78 			else
    78 			else
    79 			{
    79 			{