Procházet zdrojové kódy

Renamed back to correct name

own3mall před 9 roky
rodič
revize
e83585d9d5
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      modules/gamemanager/home_handling_functions.php

+ 3 - 3
modules/gamemanager/home_handling_functions.php

@@ -30,7 +30,7 @@ function get_query_port($server_xml, $server_port)
 	return $server_port;
 }
 
-function get_sart_cmd($remote,$server_xml,$home_info,$mod_id,$ip,$port)
+function get_start_cmd($remote,$server_xml,$home_info,$mod_id,$ip,$port)
 {	
 	$last_param = json_decode($home_info['last_param'], True);
 	
@@ -262,7 +262,7 @@ function exec_operation( $action, $home_id, $mod_id, $ip, $port )
 	}
 	elseif ( $action == "restart" AND $screen_running )
 	{
-		$start_cmd = get_sart_cmd($remote,$server_xml,$home_info,$mod_id,$ip,$port);
+		$start_cmd = get_start_cmd($remote,$server_xml,$home_info,$mod_id,$ip,$port);
 		// Do text replacements in cfg file
 		if( $server_xml->replace_texts )
 		{
@@ -293,7 +293,7 @@ function exec_operation( $action, $home_id, $mod_id, $ip, $port )
 	}
 	elseif ( $action == "start" AND ! $screen_running )
 	{
-		$start_cmd = get_sart_cmd($remote,$server_xml,$home_info,$mod_id,$ip,$port);
+		$start_cmd = get_start_cmd($remote,$server_xml,$home_info,$mod_id,$ip,$port);
 		// Do text replacements in cfg file
 		if( $server_xml->replace_texts )
 		{