[eluser]Unknown[/eluser]
I'm using codeigniter 1.7.3
In my controller
function Test()
{
parent::Controller();
$this->output->set_header('Content-Type:application/xml');
//$this->output->set_content_type('application/xml');
}
I tried both set_header & set_content_type it still return text/html.
How could i fix this?