diff --git a/emhttp/plugins/dynamix/include/DefaultPageLayout.php b/emhttp/plugins/dynamix/include/DefaultPageLayout.php index e8c60b4ea..fc3a09484 100644 --- a/emhttp/plugins/dynamix/include/DefaultPageLayout.php +++ b/emhttp/plugins/dynamix/include/DefaultPageLayout.php @@ -34,6 +34,9 @@ if ($wlan0) $nchan[] = 'webGui/nchan/wlan0'; $safemode = _var($var,'safeMode')=='yes'; $banner = "$config/plugins/dynamix/banner.png"; +$notes = '/var/tmp/unRAIDServer.txt'; +if (!file_exists($notes)) file_put_contents($notes,shell_exec("$docroot/plugins/dynamix.plugin.manager/scripts/plugin changes $docroot/plugins/unRAIDServer/unRAIDServer.plg")); + function annotate($text) {echo "\n\n";} ?> @@ -83,8 +86,6 @@ if ($themeHelper->isSidebarTheme()) { echo ".nav-item.LockButton a:before{content:'\\e955'}\n"; foreach ($buttons as $button) if (isset($button['Code'])) echo ".nav-item.{$button['name']} a:before{content:'\\{$button['Code']}'}\n"; } -$notes = '/var/tmp/unRAIDServer.txt'; -if (!file_exists($notes)) file_put_contents($notes,shell_exec("$docroot/plugins/dynamix.plugin.manager/scripts/plugin changes $docroot/plugins/unRAIDServer/unRAIDServer.plg")); ?>