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); ?>