Changeset 9742


Ignore:
Timestamp:
Mar 17, 2011, 3:40:26 PM (10 years ago)
Author:
cljosse
Message:

ws_getVersion -> add test for admin , sendResponse -> add a trigger for debug ws

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_core.inc.php

    r8728 r9742  
    372372    @header('Content-Type: '.$contentType.'; charset='.get_pwg_charset());
    373373    print_r($encodedResponse);
     374    trigger_action('sendResponse', $encodedResponse );
    374375  }
    375376
  • trunk/include/ws_functions.inc.php

    r9576 r9742  
    176176{
    177177  global $conf;
    178   if ($conf['show_version'])
     178  if ($conf['show_version'] or is_admin() )
    179179    return PHPWG_VERSION;
    180180  else
Note: See TracChangeset for help on using the changeset viewer.