add debug

This commit is contained in:
Christopher 2020-10-23 14:43:50 +02:00
parent 4434ac7278
commit ec67e1d947
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
<?php
print_r($_SESSION);
if(isset($_SESSION['LOGIN']))
{
if($_SESSION['LOGIN'] == 'true')
@ -9,9 +11,9 @@ if(isset($_SESSION['LOGIN']))
foreach($allContainers as $thisContainer)
{
echo $thisContainer->Id." == ".$thisContainer->Names[0]."\n";
echo $thisContainer['id']." == ".$thisContainer['Names'][0]."\n";
if($thisContainer->Id == $_SESSION['CONATINER'] || $thisContainer->Names[0] == ("/".$_SESSION['CONATINER']))
if($thisContainer['id'] == $_SESSION['CONATINER'] || $thisContainer['Names'][0] == ("/".$_SESSION['CONATINER']))
$container = $thisContainer;
}