dsds
This commit is contained in:
@@ -328,7 +328,8 @@ if (isset($_GET['send_active_json'])) {
|
||||
if (!$host) {
|
||||
$error = 'Host nicht gefunden.';
|
||||
} else {
|
||||
$strictHostKey = getenv('PI_CONTROL_STRICT_HOSTKEY') === '1';
|
||||
$settings = modules()->settings('pi_control');
|
||||
$strictHostKey = !empty($settings['terminal_strict_hostkey']) || getenv('PI_CONTROL_STRICT_HOSTKEY') === '1';
|
||||
[$ok, $sendError] = sendToActiveConsole($host, $commandText, $strictHostKey);
|
||||
if ($ok) {
|
||||
$notice = 'Befehl wurde in der bestehenden Konsole ausgeführt.';
|
||||
|
||||
Reference in New Issue
Block a user