Merge pull request #1065 from Squidly271/patch-38

Docker: Silence PHP errors when editing a template if corruption exists
This commit is contained in:
tom mortensen
2022-04-08 12:09:49 -07:00
committed by GitHub

View File

@@ -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));