add HTMLLOG
This commit is contained in:
parent
3e7c92a023
commit
573e86e767
6
api.php
6
api.php
|
@ -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']))
|
||||
|
|
Loading…
Reference in New Issue