Skip to content

Commit

Permalink
Ajout info VM pour la freebox
Browse files Browse the repository at this point in the history
  • Loading branch information
JEALG committed Jan 26, 2025
1 parent 0108048 commit 6e5cbc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/class/Free_CreateEq.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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'])) {
Expand Down
3 changes: 2 additions & 1 deletion core/class/Freebox_OS.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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') . ']';
Expand Down

0 comments on commit 6e5cbc8

Please sign in to comment.