From ece61f2841247082a4036b18ba758ec8c39e50d0 Mon Sep 17 00:00:00 2001 From: overflowerror Date: Sat, 16 Aug 2014 20:59:58 +0200 Subject: [PATCH] every new shell will be logged --- backend/init.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/init.php b/backend/init.php index 2d49471..7c15a31 100644 --- a/backend/init.php +++ b/backend/init.php @@ -10,5 +10,8 @@ $result['username'] = $user->name; $result['home'] = fileManager::getPathById($user->homeFK); $result['hostname'] = fileManager::getFileById(fileManager::getIdByPath("/etc/hostname"))->content; + + actionLogger::init($_SESSION); + echo json_encode($result); ?>