protected function executeStart() { try { parent::executeStart(); header('Content-Type: application/xml'); } catch (Exception $e) { throw $e; } }
/** * nastavime XML header */ protected function executeStart() { try { parent::executeStart(); $this->config->setOutputFilter(new OutputFilterPageRSS($this)); header('Content-Type: application/xml'); } catch (Exception $e) { throw $e; } }