add HTMLLOG

This commit is contained in:
Christopher 2020-10-25 00:43:45 +02:00
parent 3e7c92a023
commit 573e86e767
1 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,12 @@
echo clean($logOutput);
}
if(strtoupper($_REQUEST['METODE']) == "HTMLLOG")
{
$logOutput = $dockerClient->getContainerLogs($currentContainer['Id']);
echo html_entity_decode(clean($logOutput));
}
if(strtoupper($_REQUEST['METODE']) == "COMMAND")
{
if(isset($_REQUEST['COMMAND']))