mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 10:08:25 -05:00
Suppress warnings in $docroot and $disk['fsSize'] variables
These are easy to correct warnings.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
?>
|
||||
<?
|
||||
$disks = []; $var = [];
|
||||
$docroot = $docroot ?: $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
$docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
require_once "$docroot/webGui/include/CustomMerge.php";
|
||||
require_once "$docroot/webGui/include/Wrappers.php";
|
||||
require_once "$docroot/webGui/include/Preselect.php";
|
||||
|
||||
Reference in New Issue
Block a user