From f0550e906c0d58e9e52a4da21cb5a6b8efef2497 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 29 Mar 2011 10:54:15 +0000 Subject: merge r9742 from trunk to branch 2.1 ws_getVersion -> add test for admin , sendResponse -> add a trigger for debug ws git-svn-id: http://piwigo.org/svn/branches/2.1@9914 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_core.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/ws_core.inc.php') diff --git a/include/ws_core.inc.php b/include/ws_core.inc.php index 28f834a76..5f10c0ece 100644 --- a/include/ws_core.inc.php +++ b/include/ws_core.inc.php @@ -371,6 +371,7 @@ Request format: ".@$this->_requestFormat." Response format: ".@$this->_responseF @header('Content-Type: '.$contentType.'; charset='.get_pwg_charset()); print_r($encodedResponse); + trigger_action('sendResponse', $encodedResponse ); } /** @@ -576,4 +577,4 @@ Request format: ".@$this->_requestFormat." Response format: ".@$this->_responseF return $res; } } -?> +?> \ No newline at end of file -- cgit v1.2.3