We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2408ab4 commit b146b32Copy full SHA for b146b32
plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/include/state.php
@@ -94,7 +94,7 @@ public function __construct()
94
$this->webguiGlobals = &$webguiGlobals;
95
// echo "<pre>" . json_encode($this->webguiGlobals, JSON_PRETTY_PRINT) . "</pre>";
96
97
- $this->var = (array)parse_ini_file('state/var.ini');
+ $this->var = $webguiGlobals['var'];
98
$this->nginxCfg = @parse_ini_file('/var/local/emhttp/nginx.ini') ?? [];
99
100
$this->state = strtoupper(empty($this->var['regCheck']) ? $this->var['regTy'] : $this->var['regCheck']);
0 commit comments