mirror of
https://github.com/unraid/webgui.git
synced 2026-01-18 15:40:09 -06:00
Merge pull request #1065 from Squidly271/patch-38
Docker: Silence PHP errors when editing a template if corruption exists
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<?
|
||||
$docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
require_once "$docroot/plugins/dynamix.docker.manager/include/DockerClient.php";
|
||||
libxml_use_internal_errors(false); # Enable xml errors
|
||||
libxml_use_internal_errors(true);
|
||||
|
||||
require_once "$docroot/webGui/include/Helpers.php";
|
||||
extract(parse_plugin_cfg('dynamix',true));
|
||||
|
||||
Reference in New Issue
Block a user