own3mall 9 лет назад
Родитель
Сommit
cb8c62bf2f
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      modules/cron/cron.php
  2. 2 2
      modules/cron/user_cron.php

+ 2 - 2
modules/cron/cron.php

@@ -199,7 +199,7 @@ function exec_ogp_module()
 															  "mod_name" => $game_home['mod_name'],
 															  "def_precmd" => $game_home['def_precmd'],
 															  "def_postcmd" => $game_home['def_postcmd']);
-			$startup_cmd = get_sart_cmd($remote,$server_xml,$game_home,$game_home['mod_id'],$game_home['ip'],$game_home['port']);
+			$startup_cmd = get_start_cmd($remote,$server_xml,$game_home,$game_home['mod_id'],$game_home['ip'],$game_home['port']);
 			$cpu = $game_home['cpu_affinity'];
 			$nice = $game_home['nice'];
 			
@@ -494,4 +494,4 @@ $(document).ready(function()
 </script>
 <?php
 }
-?>
+?>

+ 2 - 2
modules/cron/user_cron.php

@@ -193,7 +193,7 @@ function exec_ogp_module()
 															  "mod_name" => $game_home['mod_name'],
 															  "def_precmd" => $game_home['def_precmd'],
 															  "def_postcmd" => $game_home['def_postcmd']);
-			$startup_cmd = get_sart_cmd($remote,$server_xml,$game_home,$game_home['mod_id'],$game_home['ip'],$game_home['port']);
+			$startup_cmd = get_start_cmd($remote,$server_xml,$game_home,$game_home['mod_id'],$game_home['ip'],$game_home['port']);
 			$cpu = $game_home['cpu_affinity'];
 			$nice = $game_home['nice'];
 			
@@ -388,4 +388,4 @@ $(document).ready(function()
 </script>
 <?php
 }
-?>
+?>