mirror of
				https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
				synced 2025-11-04 04:30:22 -05:00 
			
		
		
		
	Fix a critical problem
This commit is contained in:
		
							parent
							
								
									8b5e227ff1
								
							
						
					
					
						commit
						7473e18fae
					
				@ -129,8 +129,7 @@ if(isset($_POST['server']) && empty($message))
 | 
			
		||||
		$db->setSetting($mysqli,"mailer",htmlspecialchars($_POST['mailer'], ENT_QUOTES));
 | 
			
		||||
		//$config = str_replace("##mailer_email##", htmlspecialchars($_POST['mailer_email'], ENT_QUOTES), $config);
 | 
			
		||||
		$db->setSetting($mysqli,"mailer_email",htmlspecialchars($_POST['mailer_email'], ENT_QUOTES));
 | 
			
		||||
		//$config = str_replace("##server##", htmlspecialchars($_POST['server'], ENT_QUOTES), $config);
 | 
			
		||||
		$db->setSetting($mysqli,"server",htmlspecialchars($_POST['server'], ENT_QUOTES));
 | 
			
		||||
		$config = str_replace("##server##", htmlspecialchars($_POST['server'], ENT_QUOTES), $config);
 | 
			
		||||
		$config = str_replace("##database##", htmlspecialchars($_POST['database'], ENT_QUOTES), $config);
 | 
			
		||||
		$config = str_replace("##user##", htmlspecialchars($_POST['dbuser'], ENT_QUOTES), $config);
 | 
			
		||||
		$config = str_replace("##password##", htmlspecialchars($_POST['dbpassword'], ENT_QUOTES), $config);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user