Changeset 11755


Ignore:
Timestamp:
Jul 15, 2011, 9:23:53 PM (9 years ago)
Author:
plg
Message:

feature 2243 added: pwg.session.getStatus returns current date (used for images.date_available field, ie database time)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/include/ws_functions.inc.php

    r11745 r11755  
    17201720  $res['pwg_token'] = get_pwg_token();
    17211721  $res['charset'] = get_pwg_charset();
     1722
     1723  list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();'));
     1724  $res['current_datetime'] = $dbnow;
     1725 
    17221726  return $res;
    17231727}
Note: See TracChangeset for help on using the changeset viewer.