Skip to content

Commit

Permalink
Fix headers issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Nykolyszyn committed May 19, 2021
1 parent d18c1ee commit 44af14f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Controller/Index/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -124,7 +125,7 @@ public function execute()
// TODO:- Implement caching of feed

print $productFeed;
exit();
// exit();
} else {
print "Product Feed is disabled.";
}
Expand Down

0 comments on commit 44af14f

Please sign in to comment.