mirror of
https://github.com/sigmasternchen/webcli
synced 2025-03-15 06:08:54 +00:00
every new shell will be logged
This commit is contained in:
parent
6af3ddc991
commit
ece61f2841
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue