[router.controller.js] _SERVER fixed 'connected' variable
This commit is contained in:
parent
e80b20c0d2
commit
0a8a8dc802
|
@ -29,7 +29,7 @@
|
|||
|
||||
'session' => [
|
||||
'name' => $_SESSION['NAME'],
|
||||
'connected' => isset($_SESSION['USER']) ? count($_SESSION['USER']) > 0 : false
|
||||
'connected' => isset($_SESSION['AUTH']) ? count($_SESSION['AUTH']) > 0 : false
|
||||
]
|
||||
|
||||
])."\n";
|
||||
|
|
Loading…
Reference in New Issue