aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ws_functions.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index cc84460e2..cf4e5113d 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -1719,6 +1719,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;
}