Skip to content

Commit 63a098e

Browse files
committed
chore: cautionary comment for server-state.php
1 parent 36ba0c6 commit 63a098e

File tree

1 file changed

+1
-1
lines changed
  • plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/data

1 file changed

+1
-1
lines changed

plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/data/server-state.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
$docroot ??= ($_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp');
3-
$var = (array)parse_ini_file('state/var.ini');
3+
$var = (array)parse_ini_file('state/var.ini'); // required for state.php - don't remove unless you've refactored the code to work without it
44
require_once "$docroot/plugins/dynamix.my.servers/include/state.php";
55

66
$serverState = new ServerState();

0 commit comments

Comments
 (0)