diff options
Diffstat (limited to 'h-source/Application/Controllers/ClientController.php')
-rw-r--r-- | h-source/Application/Controllers/ClientController.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/h-source/Application/Controllers/ClientController.php b/h-source/Application/Controllers/ClientController.php index e0ff37e..51966c9 100644 --- a/h-source/Application/Controllers/ClientController.php +++ b/h-source/Application/Controllers/ClientController.php @@ -30,12 +30,19 @@ class ClientController extends BaseController public function licenseinfo($lang = 'en') { + header ("Content-Type:text/xml"); + + $data["xml"] = "<?xml version='1.0' encoding='UTF-8'?>\n"; + + $this->append($data); $this->clean(); $this->load("license"); } public function userinfo($lang = 'en') { + header ("Content-Type:text/xml"); + $this->s['registered']->checkStatus(); $data['user_status'] = strcmp($this->islogged,'yes') === 0 ? 'logged' : 'not-logged'; |