From 44af14fb4dcacf59ca30604d43691f67d1f2e16f Mon Sep 17 00:00:00 2001 From: Dylan Nykolyszyn <> Date: Wed, 19 May 2021 10:10:12 +0100 Subject: [PATCH] Fix headers issue --- Controller/Index/Feed.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Controller/Index/Feed.php b/Controller/Index/Feed.php index e0aab56..61c46a3 100755 --- a/Controller/Index/Feed.php +++ b/Controller/Index/Feed.php @@ -56,6 +56,7 @@ private function getProductCollection() public function execute() { // Set timelimit to 0 to avoid timeouts when generating feed. + ob_start(); set_time_limit(0); $store = $this->storeModel->getStore(); @@ -124,7 +125,7 @@ public function execute() // TODO:- Implement caching of feed print $productFeed; - exit(); + // exit(); } else { print "Product Feed is disabled."; }