- some code refactoring before upgrade to utf (only cosmetic at this point...)

git-svn-id: http://piwigo.org/svn/trunk@2126 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2007-10-08 23:46:09 +00:00
parent 5132cc1f87
commit 98b07a4a7f
15 changed files with 291 additions and 263 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ class PwgRestEncoder extends PwgResponseEncoder
$this->_writer = new PwgXmlWriter();
$this->encode($response);
$ret = $this->_writer->getOutput();
$ret = '<?xml version="1.0" encoding="'.$lang_info['charset'].'" ?>
$ret = '<?xml version="1.0" encoding="'.get_pwg_charset().'" ?>
<rsp stat="ok">
'.$ret.'
</rsp>';