mirror of
https://github.com/ShaYmez/ezservermonitor-web.git
synced 2024-09-27 15:36:34 -04:00
displays the full date
This commit is contained in:
parent
980b9f75b6
commit
132067b7bf
@ -7,7 +7,7 @@ $datas = array();
|
|||||||
|
|
||||||
if ($Config->get('last_login:enable'))
|
if ($Config->get('last_login:enable'))
|
||||||
{
|
{
|
||||||
if (!(exec('/usr/bin/lastlog --time 365 | /usr/bin/awk -F\' \' \'{ print $1";"$5, $4, $8, $6}\'', $users)))
|
if (!(exec('/usr/bin/lastlog --time 365 | awk \'{ printf $1";"; for (i=4; i<NF; i++) printf $i" "; print $NF; }\'', $users)))
|
||||||
{
|
{
|
||||||
$datas[] = array(
|
$datas[] = array(
|
||||||
'user' => 'N.A',
|
'user' => 'N.A',
|
||||||
|
Loading…
Reference in New Issue
Block a user