From: skodak Date: Tue, 27 Jan 2009 15:06:40 +0000 (+0000) Subject: MDL-18055 adding timeout protection to security report; merged from MOODLE_19_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=244714c28a2ab7457db966ebd118161a00db5e71;p=moodle.git MDL-18055 adding timeout protection to security report; merged from MOODLE_19_STABLE --- diff --git a/admin/report/security/index.php b/admin/report/security/index.php index 9dc838b66e..b0de42d2f9 100644 --- a/admin/report/security/index.php +++ b/admin/report/security/index.php @@ -38,6 +38,10 @@ if (array_search($issue, $issues, true) === false) { $issue = ''; } +// we may need a bit more memory and this may take a long time to process +@raise_memory_limit('128M'); +@set_time_limit(0); + // Print the header. admin_externalpage_setup('reportsecurity'); admin_externalpage_print_header();