mirror of
https://github.com/unraid/api.git
synced 2026-04-30 20:20:36 -05:00
fix(plg): server-state parse dynamix.cfg
This commit is contained in:
+2
-1
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
$docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
|
||||
$var = (array)parse_ini_file('state/var.ini');
|
||||
|
||||
require_once "$docroot/webGui/include/Wrappers.php";
|
||||
require_once "$docroot/webGui/include/Helpers.php";
|
||||
extract(parse_plugin_cfg('dynamix',true));
|
||||
require_once "$docroot/plugins/dynamix.my.servers/include/state.php";
|
||||
|
||||
header('Content-type: application/json');
|
||||
|
||||
Reference in New Issue
Block a user