Changeset 11756


Ignore:
Timestamp:
Jul 15, 2011, 9:24:17 PM (10 years ago)
Author:
plg
Message:

merge r11755 from branch 2.2 to trunk

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
  • trunk/include/ws_functions.inc.php

    r11746 r11756  
    17231723  $res['pwg_token'] = get_pwg_token();
    17241724  $res['charset'] = get_pwg_charset();
     1725
     1726  list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();'));
     1727  $res['current_datetime'] = $dbnow;
     1728 
    17251729  return $res;
    17261730}
Note: See TracChangeset for help on using the changeset viewer.