diff --git a/core/class/Free_CreateEq.class.php b/core/class/Free_CreateEq.class.php index 660dc99e..4509beb0 100644 --- a/core/class/Free_CreateEq.class.php +++ b/core/class/Free_CreateEq.class.php @@ -155,7 +155,7 @@ public static function createEq($create = 'default', $IsVisible = true) log::add('Freebox_OS', 'debug', '| ───▶︎ ' . $logicalinfo['networkName'] . ' / ' . $logicalinfo['networkwifiguestName']); } log::add('Freebox_OS', 'debug', '┌── :fg-success: ' . (__('Vérification Compatibilité avec l\'option VM', __FILE__)) . ' :/fg:──'); - if ($Setting['has_home_box'] == true) { + if ($Setting['has_vm'] == true) { log::add('Freebox_OS', 'debug', '| :fg-info:───▶︎ ' . (__('BOX COMPATIBLE AVEC LES VM', __FILE__)) . ':/fg:'); Free_CreateEq::createEq_VM($logicalinfo, $templatecore_V4, $order); } else { @@ -189,7 +189,7 @@ private static function createEq_Type_Box() log::add('Freebox_OS', 'info', '| :fg-info:───▶︎ ' . (__('Box compatible avec les VM', __FILE__)) . '::/fg: ' . (__('Non', __FILE__))); } // board_Name - config::save('VM_FREEBOX', $has_vm, 'Freebox_OS'); + config::save('FREEBOX_VM', $has_vm, 'Freebox_OS'); log::add('Freebox_OS', 'info', '| :fg-info:───▶︎ ' . (__('Box compatible avec les VM', __FILE__)) . '::/fg: ' . config::byKey('VM_FREEBOX', 'Freebox_OS')); if (isset($result['model_info']['has_led_strip'])) { diff --git a/core/class/Freebox_OS.class.php b/core/class/Freebox_OS.class.php index 3d60a485..34434662 100644 --- a/core/class/Freebox_OS.class.php +++ b/core/class/Freebox_OS.class.php @@ -882,7 +882,8 @@ public static function getConfigForCommunity() $API = "API [" . config::byKey('FREEBOX_API', 'Freebox_OS') . ']'; $tiles = "Freebox Compatible Tiles [" . config::byKey('TYPE_FREEBOX_TILES', 'Freebox_OS') . ']'; $tiles_cron = "Cron Tiles [" . config::byKey('FREEBOX_TILES_CRON', 'Freebox_OS') . ']'; - $ligne2 = $Name . ' ; ' . $API . ' ; ' . $tiles . ' ; ' . $tiles_cron; + $VM = (__('Box compatible avec les VM', __FILE__)) . ' [' . config::byKey('FREEBOX_VM', 'Freebox_OS') . ']'; + $ligne2 = $Name . ' ; ' . $API . ' ; ' . $tiles . ' ; ' . $tiles_cron . ' ; ' . $VM; $SEARCH_EQ = "EQ [" . config::byKey('SEARCH_EQ', 'Freebox_OS') . ']'; $SEARCH_TILES = "Tiles [" . config::byKey('SEARCH_TILES', 'Freebox_OS') . ']';