diff options
author | cljosse <cljosse@piwigo.org> | 2011-03-17 14:47:18 +0000 |
---|---|---|
committer | cljosse <cljosse@piwigo.org> | 2011-03-17 14:47:18 +0000 |
commit | 62a77c234e11010591083e87d5cbb5b251536021 (patch) | |
tree | 357eac4739922bab44a361aa8ca333b55779934e /include/ws_core.inc.php | |
parent | 1e05239532d2fe567eaa70fbf031df02bb25fc8b (diff) |
ws_getVersion -> add test for admin , sendResponse -> add a trigger for debug ws
git-svn-id: http://piwigo.org/svn/branches/2.1@9743 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/ws_core.inc.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/ws_core.inc.php b/include/ws_core.inc.php index 28f834a76..f63289611 100644 --- a/include/ws_core.inc.php +++ b/include/ws_core.inc.php @@ -1,8 +1,8 @@ <?php // +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | +// | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org | +// | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org | // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | // +-----------------------------------------------------------------------+ @@ -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 |