Docker: Silence PHP errors when editing a template if corruption exists

This commit is contained in:
Squidly271
2022-04-06 18:02:21 -04:00
committed by GitHub
parent 8eaa06bc27
commit 0b31bba645
@@ -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); # Enable xml errors
require_once "$docroot/webGui/include/Helpers.php";
extract(parse_plugin_cfg('dynamix',true));