This commit is contained in:
Christopher 2020-10-23 22:37:11 +02:00
parent a982aa1f25
commit 75117b6bb9
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ include_once("classen/HTML.php");
include_once("classen/helper.php");
include_once("classen/docker.php");
$_SESSION['CONATINER'] = "Game.OpenSimulator.Twix";
$_SESSION['CONTAINER'] = "Game.OpenSimulator.Twix";
$_SESSION['LOGIN'] = "true";
if(isset($_REQUEST['logout']))

View File

@ -9,7 +9,7 @@ if(isset($_SESSION['LOGIN']))
foreach($allContainers as $thisContainer)
{
if($thisContainer['Id'] == $_SESSION['CONATINER'] || $thisContainer['Names'][0] == ("/".$_SESSION['CONATINER']))
if($thisContainer['Id'] == $_SESSION['CONTAINER'] || $thisContainer['Names'][0] == ltrim($container['Names']['0'], '/'))
$container = $thisContainer;
}