public static function StopAll() { $hostarr = array(); foreach (Config::$BROWSERS as $b => $h) { $host = $h[0]; if (array_search($host, $hostarr)) { continue; } array_push($hostarr, $host); require_once 'lib/Staf.php'; Staf::process_stop('', $host, true); Staf::process("free all"); } }
public static function StopOne($key) { $host = Config::$BROWSERS[$key][0]; require_once 'lib/Staf.php'; Staf::process_stop('', $host, true); }