From d03e189f63c8eb99f2f833d1715786efdf561ccc Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 10 Nov 2008 05:06:08 +0000 Subject: [PATCH] Replaced 300-second 'long execution' times with unlimited git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65529 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CMSMain.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/CMSMain.php b/code/CMSMain.php index a465c82b..234d890e 100644 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -1157,7 +1157,7 @@ HTML; * Helper function to get page count */ function getpagecount() { - ini_set('max_execution_time',300); + ini_set('max_execution_time', 0); $excludePages = split(" *, *", $_GET['exclude']); $pages = DataObject::get("SiteTree", "ParentID = 0"); @@ -1185,7 +1185,7 @@ HTML; function publishall() { ini_set("memory_limit", -1); - ini_set('max_execution_time', 300); + ini_set('max_execution_time', 0); $response = "";