Skip to content

Commit

Permalink
Merge pull request #44 from SahAssar/patch-1
Browse files Browse the repository at this point in the history
Suppress errors/warnings when we can't set time limit and ini
  • Loading branch information
bobdenotter authored Oct 20, 2019
2 parents f7e6718 + 6ceeda0 commit 314ed5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SitemapExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ protected function registerFrontendControllers()
private function getLinks()
{
// If we have a boatload of content, we might need a bit more memory.
set_time_limit(0);
ini_set('memory_limit', '512M');
@set_time_limit(0);
@ini_set('memory_limit', '512M');

$app = $this->getContainer();
$config = $this->getConfig();
Expand Down

0 comments on commit 314ed5a

Please sign in to comment.