Skip to content
Browse files

MINOR Using increase_memory_limit_to() in CMSMain->buildbrokenlinks()

  • Loading branch information...
1 parent de13f14 commit 089973803b49920eddccdd8f64ad95664058fe87 @chillu chillu committed Oct 7, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 code/controllers/CMSMain.php
View
3 code/controllers/CMSMain.php
@@ -991,6 +991,9 @@ function buildbrokenlinks($request) {
// Protect against CSRF on destructive action
if(!SecurityToken::inst()->checkRequest($request)) return $this->httpError(400);
+ increase_time_limit_to();
+ increase_memory_limit_to();
+
if($this->urlParams['ID']) {
$newPageSet[] = DataObject::get_by_id("Page", $this->urlParams['ID']);
} else {

0 comments on commit 0899738

Please sign in to comment.
Something went wrong with that request. Please try again.