mirror of
https://github.com/unraid/webgui.git
synced 2026-04-20 08:51:29 -05:00
Suppress warnings in $docroot and $disk['fsSize'] variables
These are easy to correct warnings.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
$docroot = $docroot ?: $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
$docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
|
||||
function addLog($line) { echo "<script>addLog('$line');</script>"; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user