aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_core.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-09-25 00:30:42 +0000
committerrvelices <rv-github@modusoptimus.com>2008-09-25 00:30:42 +0000
commitc15f6faced7691ce67015fe1d1b61ff270ae5f96 (patch)
treeb5951e57c89b872e84ebac4888b69518509ccc9f /include/ws_core.inc.php
parent5adad7565c9c169dd623bac6704121f7d6aba151 (diff)
- some checks for admins that are advisers (no write access)
- send the charset in http header for web services - tag name becomes an xml attribute instead of content for tags.getList and related tags in images.getInfo (more logical and coherent with tags.getAdminList) git-svn-id: http://piwigo.org/svn/trunk@2585 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/ws_core.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_core.inc.php b/include/ws_core.inc.php
index 24f10f114..0fb0641ca 100644
--- a/include/ws_core.inc.php
+++ b/include/ws_core.inc.php
@@ -369,7 +369,7 @@ Request format: ".@$this->_requestFormat." Response format: ".@$this->_responseF
$encodedResponse = $this->_responseEncoder->encodeResponse($response);
$contentType = $this->_responseEncoder->getContentType();
- @header('Content-Type: '.$contentType);
+ @header('Content-Type: '.$contentType.'; charset='.get_pwg_charset());
print_r($encodedResponse);
}