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

git-svn-id: http://piwigo.org/svn/trunk@9742 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
cljosse
2011-03-17 14:40:26 +00:00
parent 727e13aab5
commit 6cfd6e78fc
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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;
}
}
?>
?>