print session
This commit is contained in:
parent
70a7aa4af2
commit
d249ebc34a
|
@ -14,7 +14,11 @@ if(isset($_SESSION['LOGIN']))
|
|||
}
|
||||
|
||||
if($container == NULL)
|
||||
{
|
||||
print_r($_SESSION);
|
||||
die("unknown container");
|
||||
}
|
||||
|
||||
|
||||
$logOutput = $dockerClient->getContainerLogs($_SESSION['CONTAINER']);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
if($container != NULL)
|
||||
{
|
||||
$_SESSION['LOGIN'] = "true";
|
||||
$_SESSION['CONTAINER'] = $container['Name'];
|
||||
$_SESSION['CONTAINER'] = $container['Name'][0];
|
||||
|
||||
include "./pages/dashboard.php";
|
||||
die();
|
||||
|
|
Loading…
Reference in New Issue