diff --git a/front/deviceDetailsEdit.php b/front/deviceDetailsEdit.php index d121e8c8..2ff37396 100755 --- a/front/deviceDetailsEdit.php +++ b/front/deviceDetailsEdit.php @@ -363,7 +363,7 @@ function getDeviceData() { generateSimpleForm(relevantSettings); - toggleNetworkConfiguration(mac == 'Internet') + toggleNetworkConfiguration(mac.toLowerCase() == 'internet') initSelect2(); initHoverNodeInfo(); diff --git a/front/deviceDetailsTools.php b/front/deviceDetailsTools.php index 0c0756ac..404c8349 100755 --- a/front/deviceDetailsTools.php +++ b/front/deviceDetailsTools.php @@ -5,7 +5,7 @@ ?> - +

@@ -24,7 +24,7 @@ - +

@@ -47,7 +47,7 @@ - +

@@ -108,7 +108,7 @@ - +

@@ -126,7 +126,7 @@ - +

@@ -144,7 +144,7 @@ - +

diff --git a/front/index.php b/front/index.php index ece4e883..ff57102e 100755 --- a/front/index.php +++ b/front/index.php @@ -11,7 +11,7 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/php/templates/security.php'; // session_start(); // } -session_start(); +// session_start(); const DEFAULT_REDIRECT = '/devices.php'; diff --git a/front/network.php b/front/network.php index 671628fc..4ea6070d 100755 --- a/front/network.php +++ b/front/network.php @@ -630,7 +630,7 @@ function getHierarchy() for(i in deviceListGlobal) { - if(deviceListGlobal[i].devMac == 'Internet') + if(deviceListGlobal[i].devMac.toLowerCase() == 'internet') { internetNode = deviceListGlobal[i];