diff --git a/emhttp/plugins/dynamix/include/DefaultPageLayout.php b/emhttp/plugins/dynamix/include/DefaultPageLayout.php index 64c6b5349..623e4e207 100644 --- a/emhttp/plugins/dynamix/include/DefaultPageLayout.php +++ b/emhttp/plugins/dynamix/include/DefaultPageLayout.php @@ -29,6 +29,10 @@ $entity = $notify['entity'] & 1 == 1; $alerts = '/tmp/plugins/my_alerts.txt'; $wlan0 = file_exists('/sys/class/net/wlan0'); +$nchan = ['webGui/nchan/notify_poller','webGui/nchan/session_check']; +if ($wlan0) $nchan[] = 'webGui/nchan/wlan0'; +$safemode = _var($var,'safeMode')=='yes'; + function annotate($text) {echo "\n\n";} ?> @@ -70,9 +74,6 @@ function annotate($text) {echo "\n