fix typo
This commit is contained in:
parent
a982aa1f25
commit
75117b6bb9
|
@ -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']))
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue