diff options
Diffstat (limited to '')
-rw-r--r-- | include/ws_functions.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index b92814688..68e90f81a 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -1722,6 +1722,10 @@ function ws_session_getStatus($params, &$service) } $res['pwg_token'] = get_pwg_token(); $res['charset'] = get_pwg_charset(); + + list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();')); + $res['current_datetime'] = $dbnow; + return $res; } |