diff --git a/plugins/dynamix/include/DefaultPageLayout.php b/plugins/dynamix/include/DefaultPageLayout.php index bf88b1763..b7af7c9b6 100644 --- a/plugins/dynamix/include/DefaultPageLayout.php +++ b/plugins/dynamix/include/DefaultPageLayout.php @@ -43,9 +43,8 @@ if (strstr('gray,azure',$display['theme'])) { foreach ($buttons as $page) if ($page['Code']) echo "#nav-item.{$page['name']} a:before{content:'\\{$page['Code']}'}\n"; } $notes = '/tmp/plugins/unRAIDServer.txt'; -$notes = file_exists($notes) - ? " " - : ""; +if (!file_exists($notes)) file_put_contents($notes,shell_exec("/usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin changes /usr/local/emhttp/plugins/unRAIDServer/unRAIDServer.plg")); +$notes = " " ?>