aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/ClientController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-04-05 15:28:19 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-04-05 15:28:19 +0000
commit1a42c1c617bea6ec2c9344073fcef082fae9cb35 (patch)
tree8b7d9d623165d2dd298fab9dcb64a029e4e45f36 /h-source/Application/Controllers/ClientController.php
parentf178c9a514e1fc849ebeaa8e8a546296836d29d6 (diff)
h-source:improved the way license is shown
Diffstat (limited to 'h-source/Application/Controllers/ClientController.php')
-rw-r--r--h-source/Application/Controllers/ClientController.php7
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';