[router.controller.js] _SERVER fixed 'connected' variable

This commit is contained in:
xdrm-brackets 2018-03-03 16:01:39 +01:00
parent e80b20c0d2
commit 0a8a8dc802
1 changed files with 1 additions and 1 deletions

View File

@ -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";